Building Love < 0.9.0

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
CrackedP0t
Citizen
Posts: 69
Joined: Wed May 07, 2014 4:01 am
Contact:

Building Love < 0.9.0

Post by CrackedP0t »

When I try to build Love 0.8.0, I get an error because the Freetype header files are in /usr/include/freetype2 instead of /usr/include/freetype.
However, if I rename freetype2 to freetype, I get an error:

Code: Select all

In file included from modules/font/freetype/wrap_Font.cpp:23:0:
modules/font/freetype/Font.h:31:22: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
Is there something I can do about this?
I feel like installing Freetype 1.4 would help, but I don't know how.
/人 ◕‿‿◕ 人\
Here, have an umlaut. Ö
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Building Love < 0.9.0

Post by bartbes »

Actually, ft2build.h would be at /usr/include/freetype2/freetype/ft2build.h, typically, so you should be fine if you add the include path /usr/include/freetype2.
User avatar
CrackedP0t
Citizen
Posts: 69
Joined: Wed May 07, 2014 4:01 am
Contact:

Re: Building Love < 0.9.0

Post by CrackedP0t »

Well, my freetype2 directory looks like this:

Code: Select all

ls /usr/include/freetype2/
config      ftadvanc.h  ftbdf.h     ftcache.h     ftcid.h     ftgasp.h   ftgzip.h    ftlcdfil.h  ftmac.h     ftmoderr.h  ftpfr.h     ftsnames.h  ftsystem.h fttypes.h   t1tables.h  tttags.h freetype.h  ftautoh.h   ftbitmap.h  ftcffdrv.h    fterrdef.h  ftglyph.h  ftimage.h   ftlist.h    ftmm.h      ftotval.h   ftrender.h  ftstroke.h  fttrigon.h  ftwinfnt.h  ttnameid.h  ttunpat.h ft2build.h  ftbbox.h    ftbzip2.h   ftchapters.h  fterrors.h  ftgxval.h  ftincrem.h  ftlzw.h     ftmodapi.h  ftoutln.h   ftsizes.h   ftsynth.h   ftttdrv.h   ftxf86.h    tttables.h
/人 ◕‿‿◕ 人\
Here, have an umlaut. Ö
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Building Love < 0.9.0

Post by bartbes »

I've never seen that setup before...
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests