Hello Andres, On 05/03/2011 09:01 PM, Andres Ussa Caycedo wrote: > On 04/27/2011 09:05 AM, Carsten Neumann wrote: >> hmm, that isn't unusual either (we use the 4.4.5 that comes with Fedora >> 13 here) - this is really a quite strange error. >> Can you take the command where it tries to compile OSGXmltokenizer.cpp >> and replace -c with -E (and perhaps also the -o >> obj-dbg/OSGXmltokenizer.o with -o obj-dbg/OSGXmltokenizer.ii): >> >> using BD = /home/andres/Programs/OpenSG/Source >> # g++ -Wall -W -Wpointer-arith -Wcast-align -Wconversion -Winline >> -Wno-unused -Wno-long-long -Wno-reorder -Wno-sign-compare >> -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT -DOSG_WITH_JPG >> -DOSG_WITH_PNG -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA >> -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT >> -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA >> -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -ansi >> -use_readonly_const -ftemplate-depth-100 -fPIC --param >> max-inline-insns-single=15000 --param inline-unit-growth=1000 --param >> large-function-growth=20000 -O1 -g -DOSG_DEBUG -E -I"../Base" >> -I$BD/Base/Base -I$BD/Base/Field -I$BD/Base/Functors >> -I$BD/Base/Network/Base -I$BD/Base/Network/Socket >> -I$BD/Base/StringConversion -I$BD/Base/Xml -Iobj-dbg -I. -o >> obj-dbg/OSGXmltokenizer.ii >> /home/andres/Programs/OpenSG/Source/Base/Xml/OSGXmltokenizer.cpp >> >> and put the resulting preprocessed source (obj-dbg/OSGXmltokenizer.ii) >> on pastebin? Perhaps that gives a hint why EOF is not defined... >> > Ok, noob over here, what "Makefile" is the one I have to edit? Could you > be more specific... I don't quite understand what do I have to do... :S, > sorry....
no need to edit Makefiles, just run make (and let if fail) from your Builds/x86_64-unknown-linux-gnu-g++ directory then scroll up in your terminal to the line(s) where the compiler is called to compile OSGXmltokenizer.cpp. Copy & paste that line and modify it as I've described above and run the modified command (which should look pretty much like the one I pasted above). Oh, I just noticed the $BD in the command, please put env BD=/home/andres/Programs/OpenSG/Source before the g++, i.e. it should start like: env BD=/home/andres/Programs/OpenSG/Source g++ -Wall -W -Wpointer-arith -Wcast-align ... The goal here is not to compile the file, but to only run the preprocessor on it, that way it's possible to see what has been included and perhaps gives a hint why EOF is not defined. You should end up with this file: Builds/x86_64-unknown-linux-gnu-g++/BaseLib/obj-dbg/OSGXmltokenizer.ii Cheers, Carsten ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users