Dies ist der QT -Pro mit geladenem Freetyp. Ich renne jetzt auf Ubuntu 16.04: < /p>
Code: Select all
linux {
message("Build for Linux")
DEFINES += LINUX
DEFINES += BOOST_LOG_DYN_LINK
LIBS += -lGLU
LIBS += -lfreetype
LIBS += -L/usr/lib/x86_64-linux-gnu/-libboost_timer.so -libboost_log.so -libboost_log_setup.so -libboost_system.so -libboost_thread.so -libboost_filesystem.so
}
< /code>
Ich habe also versucht, auch den Lib -Zeiger manuell zu ändern, als: < /p>
LIBS *= -L/usr/local/lib/ -lfreetype
< /code>
, aber trotzdem läuft nichts richtig. Der Fehler, den ich bekomme, stammt von LGlu < /p>
In file included from displays/display.cpp:3:0:
displays/./../oglft/oglft.h:50:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
Makefile:1093: recipe for target 'display.o' failed
Code: Select all
pkg-config --cflags --libs freetype2
< /code>
Und das bekomme ich < /p>
-I/usr/local/include/freetype2 -L/usr/local/lib -lfreetype