Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on make with missing FTFont.h #193

Closed
mxa opened this issue Sep 24, 2018 · 5 comments
Closed

error on make with missing FTFont.h #193

mxa opened this issue Sep 24, 2018 · 5 comments

Comments

@mxa
Copy link
Contributor

mxa commented Sep 24, 2018

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -DGLEW_MX -DPD -DPD -fPIC -I/usr/local/include/pd -g -O2 -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -MT libBase_la-TextBaseFTGL.lo -MD -MP -MF .deps/libBase_la-TextBaseFTGL.Tpo -c TextBaseFTGL.cpp  -fPIC -DPIC -o .libs/libBase_la-TextBaseFTGL.o
In file included from TextBaseFTGL.cpp:24:0:
TextBase.h:38:12: fatal error: FTFont.h: No such file or directory
 #  include "FTFont.h"
            ^~~~~~~~~~
compilation terminated.
Makefile:800: recipe for target 'libBase_la-TextBaseFTGL.lo' failed
make[3]: *** [libBase_la-TextBaseFTGL.lo] Error 1
make[3]: Leaving directory '/home/max/Code/Gem/src/Base'
Makefile:769: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/max/Code/Gem/src'
Makefile:633: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/max/Code/Gem/src'
Makefile:666: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@umlaeute
Copy link
Owner

duplicate #153 of #25.

@mxa
Copy link
Contributor Author

mxa commented Sep 25, 2018

The other issues are OSX though, this is Linux. I don't see a solution to the issue, is this correct?

@umlaeute
Copy link
Owner

your bug report didn't mention Linux (it didn't mention much besides the error).

The solution is to install the dev packages of FTGL (libftgl-dev) and freetype (libfreetyp6-dev), along with pkg-config.

@mxa
Copy link
Contributor Author

mxa commented Sep 25, 2018

All three mentioned packages were installed already.

@mxa
Copy link
Contributor Author

mxa commented Sep 25, 2018

Turns out the confusing part for this one was that it was necessary to run ./autogen again while for some other missing libraries it was enough to repeat the ./configure step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants