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 |
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?
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 27 08:23:44 CEST 2024
Total time taken to generate the page: 0.02565 seconds
|