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 » Community » Newbie corner » ftheader.h: no such file or directory
ftheader.h: no such file or directory [message #37598] Wed, 24 October 2012 10:05 Go to next message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
I have trouble compiling U++ 5431 on Backtrack 5 R3 x64. I am getting the following error:

In file included from /usr/include/X11/Xft/Xft.h:39,
                 from /root/upp/uppsrc/CtrlCore/X11Gui.h:13,
                 from /root/upp/uppsrc/CtrlCore/CtrlCore.h:20,
                 from /root/upp/uppsrc/CtrlLib/CtrlLib.h:4,
                 from /root/upp/uppsrc/CtrlLib/Switch.cpp:1:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from /root/upp/uppsrc/CtrlCore/X11Gui.h:13,
                 from /root/upp/uppsrc/CtrlCore/CtrlCore.h:20,
                 from /root/upp/uppsrc/CtrlLib/CtrlLib.h:4,
                 from /root/upp/uppsrc/CtrlLib/Switch.cpp:1:
/usr/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" or <FILENAME>
In file included from /usr/include/X11/Xft/Xft.h:39,
                 from /root/upp/uppsrc/CtrlCore/X11Gui.h:13,
                 from /root/upp/uppsrc/CtrlCore/CtrlCore.h:20,
                 from /root/upp/uppsrc/CtrlLib/CtrlLib.h:4,
                 from /root/upp/uppsrc/CtrlLib/EditField.cpp:1:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from /root/upp/uppsrc/CtrlCore/X11Gui.h:13,
                 from /root/upp/uppsrc/CtrlCore/CtrlCore.h:20,
                 from /root/upp/uppsrc/CtrlLib/CtrlLib.h:4,
                 from /root/upp/uppsrc/CtrlLib/EditField.cpp:1:
/usr/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" or <FILENAME>

and some more...


I have searched for a solution but I couldn't find a suitable one. in /usr/include/freetype is the file present including all other files. They are in the right directory.

The makefile (/usr/share/upp/uppsrc/Makefile.in) has the include path in it, however, I am not a makefile professional so I do not know how it works.

UPPOUT = _out/
CINC = -I./ -I((INCLUDES)) -I/usr/include/freetype2/ -I/usr/include/gtk-2.0 -I/$
Macro =  -DflagGUI -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX
CXX = c++
LINKER = $(CXX)
CFLAGS = -O3 -ffunction-sections -fdata-sections
CXXFLAGS = -O3 -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections $(LINKOPTIONS)
LIBPATH = -L"/usr/X11R6/lib" -L"/usr/lib"
AR = ar -sr


As you can see, the correct include path is in the makefile. However, this is CXXFLAGS and not CPPFLAGS which I find in the forum posts here. Can anybody tell me what is not correct?
Re: ftheader.h: no such file or directory [message #37599 is a reply to message #37598] Wed, 24 October 2012 21:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
crydev wrote on Wed, 24 October 2012 04:05

I have trouble compiling U++ 5431 on Backtrack 5 R3 x64.



What is that? Smile

Quote:


forum posts here. Can anybody tell me what is not correct?


You do not have freetype-dev installed (development files for freetype library).

There is "debian" file listing U++ dependencies as apt-get commands. Even if your distro (if it is POSIX) is not .deb based, you can use that file to find out about those dependencies...

Mirek
Re: ftheader.h: no such file or directory [message #37600 is a reply to message #37599] Wed, 24 October 2012 21:43 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ha, looks like Backtrack is something debian based - in that case running that "debian" file in sh should be enough...

Mirek
Previous Topic: Output folder error
Next Topic: Report & sch file
Goto Forum:
  


Current Time: Sat Apr 27 08:23:44 CEST 2024

Total time taken to generate the page: 0.02565 seconds