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 » Developing U++ » U++ Developers corner » Problems to build U++
Problems to build U++ [message #26505] Thu, 06 May 2010 22:18 Go to previous message
ostruwe is currently offline  ostruwe
Messages: 1
Registered: May 2010
Junior Member
Hello!
I tried to build upp-x11-src-2361 on a SUSE 11.2 / 64 Bit machine, but make failed.The following message is shown:

c++ -c -x c++ -O3 -ffunction-sections -fdata-sections -I./ -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -DflagGUI -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX CtrlLib/TrayIconX11.cpp -o _out/CtrlLib/GCCMK-Gcc-Gui-Linux-Posix-Shared/TrayIconX11.o
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from CtrlLib/TrayIconX11.cpp:8:
/usr/include/glib-2.0/glib/gtypes.h:34:24: error: glibconfig.h: Datei oder Verzeichnis nicht gefunden

I had to add some 64Bit specific include paths. A good solution instead adding more and more paths, would be to add the following shell command to the make file:

CINC = -I./ `pkg-config gdk-2.0 --cflags-only-I` `pkg-config atk --cflags-only-I` -I/usr/X11R6/include

This construct detects the needed paths without manual investigation.

Kind regards
Otmar
 
Read Message
Read Message
Read Message
Previous Topic: Creating .deb package for U++ app
Next Topic: Splitting debs into two parts
Goto Forum:
  


Current Time: Fri Nov 01 01:11:30 CET 2024

Total time taken to generate the page: 0.02005 seconds