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: Installation, Compiling and Running of theide » Problem compiling upp-src-605.zip
Problem compiling upp-src-605.zip [message #5833] Thu, 19 October 2006 16:55 Go to next message
frankv_2006 is currently offline  frankv_2006
Messages: 1
Registered: October 2006
Junior Member
Hello

I'm trying to compile "ide" from the sources. I'm working with Ubuntu dapper.

When I run make I see the follow...


c++ -c -O2 -Os -ffunction-sections -x c++ -I../../uppsrc/ -DflagGUI -DflagGCC -DflagSHARED -DflagLINUX -DflagMAIN ../../uppsrc/ide/SelectPkg.cpp -o /home/frankv/cxl/upp/out/ide/GCC32-Gcc-Gui-Linux-Main-Shared /SelectPkg.o
In file included from /usr/include/X11/Xft/Xft.h:41,
from ../../uppsrc/Draw/Draw.h:24,
from ../../uppsrc/CtrlCore/CtrlCore.h:4,
from ../../uppsrc/CtrlLib/CtrlLib.h:4,
from ../../uppsrc/ide/Common/Common.h:4,
from ../../uppsrc/ide/ide.h:4,
from ../../uppsrc/ide/SelectPkg.cpp:1:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from ../../uppsrc/Draw/Draw.h:24,
from ../../uppsrc/CtrlCore/CtrlCore.h:4,
from ../../uppsrc/CtrlLib/CtrlLib.h:4,
from ../../uppsrc/ide/Common/Common.h:4,
from ../../uppsrc/ide/ide.h:4,
from ../../uppsrc/ide/SelectPkg.cpp:1:
/usr/include/X11/Xft/Xft.h:42:10: error: #include expects "FILENAME" or <FILENAME>
In file included from ../../uppsrc/ide/ide.h:28,
from ../../uppsrc/ide/SelectPkg.cpp:1:
../../uppsrc/ide/version.h:1:26: warning: no newline at end of file
/usr/include/X11/Xft/Xft.h:62: error: ‘FT_Library’ does not name a type
/usr/include/X11/Xft/Xft.h:96: error: ‘FT_UInt’ does not name a type
/usr/include/X11/Xft/Xft.h:103: error: ‘FT_UInt’ does not name a type
/usr/include/X11/Xft/Xft.h:200: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:305: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:363: error: ‘FT_Face’ does not name a type
/usr/include/X11/Xft/Xft.h:403: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:409: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:418: error: ‘FT_UInt’ has not been declared
/usr/include/X11/Xft/Xft.h:419: error: ‘FT_UInt’ has not been declared
/usr/include/X11/Xft/Xft.h:427: error: ‘FT_UInt’ does not name a type
/usr/include/X11/Xft/Xft.h:471: error: expected ‘,’ or ‘...’ before ‘*’ token
make: *** [/home/frankv/cxl/upp/out/ide/GCC32-Gcc-Gui-Linux-Main-Share d/SelectPkg.o] Error 1


Maybe it be a problem with LD_LIBRARY_PATH enviroment var...

Anybody can help me ?


Thanks in advance

Frank

Re: Problem compiling upp-src-605.zip [message #5834 is a reply to message #5833] Thu, 19 October 2006 17:11 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
Frank, the makefile isn't properly maintained.
Please compile from within the ide.
Releases already include a binary of the ide.

PS:
The makefile is apparently missing
-I/usr/include/freetype2
in CPPFLAGS

Guido


Re: Problem compiling upp-src-605.zip [message #5841 is a reply to message #5833] Fri, 20 October 2006 15:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
Looks like missing development library headers and/or wrong include path settings.

(605 makefile should be OK. makefiles are not maintained for development releases).

Mirek
Re: Problem compiling upp-src-605.zip [message #5843 is a reply to message #5841] Fri, 20 October 2006 16:33 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Fri, 20 October 2006 15:40

Looks like missing development library headers and/or wrong include path settings.

(605 makefile should be OK. makefiles are not maintained for development releases).

Mirek


No, like I said, -I/usr/include/freetype2 is missing.

Guido
Re: Problem compiling upp-src-605.zip [message #5846 is a reply to message #5843] Fri, 20 October 2006 17:41 Go to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
guido wrote on Fri, 20 October 2006 10:33

luzr wrote on Fri, 20 October 2006 15:40

Looks like missing development library headers and/or wrong include path settings.

(605 makefile should be OK. makefiles are not maintained for development releases).

Mirek


No, like I said, -I/usr/include/freetype2 is missing.

Guido


Depends, you can put it into your global include path as well I think...

Mirek
Previous Topic: "Package organizer" and other dialogs are size incorrect in linux
Next Topic: XP installation problem
Goto Forum:
  


Current Time: Fri Nov 01 00:34:41 CET 2024

Total time taken to generate the page: 0.01702 seconds