BlindMindStudios / StarRuler2-Source

4X Space Strategy game Star Ruler 2's open source distribution.
http://starruler2.com
Other
1.45k stars 244 forks source link

Make fails: unable to find freetype #26

Closed se5a closed 5 years ago

se5a commented 5 years ago

make: *** No rule to make target '/usr/include/freetype2/freetype/freetype.h', needed by 'obj/lin64/render/font_ft2.o'. Stop.

however it appears the source has freetype2 included in source folder: https://github.com/BlindMindStudios/StarRuler2-Source/tree/master/source/freetype2

I attempted to edit the makefile to point at this, but as I've got no clue what I'm doing, it didn't seem to make any difference to the error.

on linux mint 18.3

ethchest commented 5 years ago

You have to install it. Afaik the included source is either for Windows or otherwise not used during compilation. sudo apt install libfreetype6-dev libfonconfig1-dev libxft2-dev

se5a commented 5 years ago

Ah yes it is possibly just the windows version in there. yep those ones did the trick for that. now onto figuring out other errors.