Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » problem to compile GUI examples with makefiles and freetype under Gentoo
problem to compile GUI examples with makefiles and freetype under Gentoo [message #2116] |
Sat, 01 April 2006 19:42  |
comisat
Messages: 1 Registered: April 2006 Location: Italy
|
Junior Member |
|
|
hi all
i'm looking at the code of some GUI example (bombs, puzzle, ecc)
if i run them in debugger (F5) there's no problem, they run..
but if i create makefiles and type make from the shell i get this problem (under gentoo32 and gcc 3.4.5)
In file included from /usr/include/X11/Xft/Xft.h:40,
from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/X11/Xft/Xft.h:41:10: #include expects "FILENAME" or <FILENAME>
In file included from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/X11/Xft/Xft.h:58: error: `FT_Library' does not name a type
/usr/include/X11/Xft/Xft.h:92: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:99: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:196: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:301: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:359: error: `FT_Face' does not name a type
/usr/include/X11/Xft/Xft.h:399: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:405: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:414: error: `FT_UInt' has not been declared
/usr/include/X11/Xft/Xft.h:415: error: `FT_UInt' has not been declared
/usr/include/X11/Xft/Xft.h:423: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:467: error: expected `,' or `...' before '*' token
make: *** [/home/comisat/upp/out/Bombs/GCC32-Force_speed-Gcc32-Gui-Linux-Main/main.o] Error 1
can someone help me ?
[Updated on: Sat, 01 April 2006 19:55] by Moderator Report message to a moderator
|
|
|
|
Re: problem to compile GUI examples with makefiles and freetype under Gentoo [message #2125 is a reply to message #2116] |
Sat, 01 April 2006 21:19  |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
comisat wrote on Sat, 01 April 2006 12:42 | hi all
i'm looking at the code of some GUI example (bombs, puzzle, ecc)
if i run them in debugger (F5) there's no problem, they run..
but if i create makefiles and type make from the shell i get this problem (under gentoo32 and gcc 3.4.5)
In file included from /usr/include/X11/Xft/Xft.h:40,
from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/X11/Xft/Xft.h:41:10: #include expects "FILENAME" or <FILENAME>
In file included from /home/comisat/upp/uppsrc/Draw/Draw.h:24,
from /home/comisat/upp/uppsrc/CtrlCore/CtrlCore.h:8,
from /home/comisat/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/comisat/upp/examples/Bombs/main.cpp:1:
/usr/include/X11/Xft/Xft.h:58: error: `FT_Library' does not name a type
/usr/include/X11/Xft/Xft.h:92: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:99: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:196: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:301: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:359: error: `FT_Face' does not name a type
/usr/include/X11/Xft/Xft.h:399: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:405: error: expected `,' or `...' before '*' token
/usr/include/X11/Xft/Xft.h:414: error: `FT_UInt' has not been declared
/usr/include/X11/Xft/Xft.h:415: error: `FT_UInt' has not been declared
/usr/include/X11/Xft/Xft.h:423: error: `FT_UInt' does not name a type
/usr/include/X11/Xft/Xft.h:467: error: expected `,' or `...' before '*' token
make: *** [/home/comisat/upp/out/Bombs/GCC32-Force_speed-Gcc32-Gui-Linux-Main/main.o] Error 1
can someone help me ?
|
Looks like you are missing proper include path for freetype in your environment.
Mirek
|
|
|
Goto Forum:
Current Time: Sun Apr 27 18:24:55 CEST 2025
Total time taken to generate the page: 0.00799 seconds
|