Page 1 of 1

Linux. Failing to compile vegastrike HEAD At revision 13197.

Posted: Tue Jul 19, 2011 12:03 am
by gonzo
Hi!

I'm running Linuxmint(ubuntu 10.10 based) and am currently failing good to compile vegastrike. :)
At revision 13197.

I couldn't paste config.log because it's some three times bigger than allowed for a post.
Do you wan't the file as an attachment?

~/vegastrike-head/vegastrike $ make
make all-am
make[1]: Entering directory `/home/oskar/vegastrike-head/vegastrike'
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS -I/usr/include/python2.6 -DHAVE_PYTHON=1 -I./src -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/OGRE -I../../src -I../.. -pipe -DNV_CUBE_MAP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/mesher/mesher-Converter.o -MD -MP -MF objconv/mesher/.deps/mesher-Converter.Tpo -c -o objconv/mesher/mesher-Converter.o `test -f 'objconv/mesher/Converter.cpp' || echo './'`objconv/mesher/Converter.cpp
In file included from /usr/include/c++/4.4/ext/new_allocator.h:33,
from /usr/include/c++/4.4/x86_64-linux-gnu/bits/c++allocator.h:34,
from /usr/include/c++/4.4/bits/allocator.h:48,
from /usr/include/c++/4.4/string:43,
from objconv/mesher/PrecompiledHeaders/Standard.h:4,
from objconv/mesher/PrecompiledHeaders/Converter.h:5,
from objconv/mesher/Converter.cpp:1:
../../new:1: error: expected unqualified-id before numeric constant
In file included from /usr/include/c++/4.4/bits/ostream_insert.h:36,
from /usr/include/c++/4.4/string:46,
from objconv/mesher/PrecompiledHeaders/Standard.h:4,
from objconv/mesher/PrecompiledHeaders/Converter.h:5,
from objconv/mesher/Converter.cpp:1:
/usr/include/c++/4.4/cxxabi-forced.h:29: error: expected declaration before end of line
make[1]: *** [objconv/mesher/mesher-Converter.o] Error 1
make[1]: Leaving directory `/home/oskar/vegastrike-head/vegastrike'
make: *** [all] Error 2

Re: Linux. Failing to compile vegastrike HEAD At revision 13

Posted: Tue Jul 19, 2011 10:04 pm
by strook
this is no error of vs. it is an error of your distro. i think you made some error when installing your compiler.

the error referenced here is in the c++ stdlib which is installed with your compiler. and depends on it.

Re: Linux. Failing to compile vegastrike HEAD At revision 13

Posted: Sat Jul 23, 2011 3:06 am
by gonzo
Thanks. It's just a good old gcc install. I think I'd better go for a clean debian install actually as I've been wanting to try it out anyway.
Then I'll try out your ogre stuff! :D