Page 1 of 1

Building Love < 0.9.0

Posted: Tue Jun 03, 2014 5:03 pm
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.

Re: Building Love < 0.9.0

Posted: Tue Jun 03, 2014 5:38 pm
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.

Re: Building Love < 0.9.0

Posted: Tue Jun 03, 2014 7:28 pm
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

Re: Building Love < 0.9.0

Posted: Tue Jun 03, 2014 7:42 pm
by bartbes
I've never seen that setup before...