Home » Developing U++ » Mac OS » Compile X11 Source Package
Compile X11 Source Package [message #25341] |
Wed, 17 February 2010 18:44  |
Reini
Messages: 28 Registered: April 2009 Location: Berlin
|
Promising Member |
|
|
Hello Mirek and others
I posted this already but hopefully it gets now more attention.
I am trying to compile the latest Source Package 2087 in OSX and get the following errors.
++ -c -O3 -ffunction-sections -fdata-sections -x c++ -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 -DflagMAIN ide/SelectPkg.cpp -o _out/ide/GCCMK-Gcc-Gui-Linux-Main-Posix-Shared/SelectPkg.o
In file included from ./ide/Core/Core.h:5,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/SelectPkg.cpp:1:
./Web/Web.h:30:2: error: #error Unsupported platform
In file included from ./Web/Web.h:38,
from ./ide/Core/Core.h:5,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/SelectPkg.cpp:1:
./Web/socket.h:139:2: error: #error Unsupported platform
In file included from ./Core/Core.h:226,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/SelectPkg.cpp:1:
I tried already to fix this in the Core/config.h file but did not work the way I wanted. So I will attach the file and hopefully Mirek or someone else can help out.
Here I have submitted also two links whre the exact informations are located.
http://stackoverflow.com/questions/1529031/what-c-preprocess or-conditional-should-i-use-for-os-x-specific-code/1529074
http://predef.sourceforge.net/preos.html#sec19
For sure in the Web.h there has to be done also a modification whre I didn't want to add some extra code unless I know exactly what would be the prefered way to do it.
Greetings Reini
-
Attachment: config.h
(Size: 2.33KB, Downloaded 535 times)
|
|
|
Goto Forum:
Current Time: Thu May 01 05:46:16 CEST 2025
Total time taken to generate the page: 0.02597 seconds
|