Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » problem to compile GUI examples with makefiles and freetype under Gentoo
icon4.gif  problem to compile GUI examples with makefiles and freetype under Gentoo [message #2116] Sat, 01 April 2006 19:42 Go to next message
comisat is currently offline  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 #2118 is a reply to message #2116] Sat, 01 April 2006 19:56 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
please ask more precisely next. I mean I don't know the answer but I edited your topic name. Smile

[Updated on: Sat, 01 April 2006 19:58]

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 Go to previous message
mirek is currently offline  mirek
Messages: 13975
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
Previous Topic: any experiments with gcc4.1?
Next Topic: Hydra is FAST
Goto Forum:
  


Current Time: Mon Apr 29 13:53:26 CEST 2024

Total time taken to generate the page: 0.02459 seconds