Page 1 of 1

building spring 0.93 on opensuse 12.3

Posted: 22 Mar 2013, 20:03
by anterak
Hi,
i ve some problem to build spring 93.2 (and 93.x ) with opensuse linux 12.3.
see this :

Code: Select all

[ 95%] Building CXX object rts/lib/headlessStubs/CMakeFiles/headlessStubs.dir/sdlstub_cppbit.cpp.o
/home/anterak/scr/spring/rts/lib/headlessStubs/sdlstub_cppbit.cpp: In function ‘int stub_sdl_getSystemMilliSeconds()’:
/home/anterak/scr/spring/rts/lib/headlessStubs/sdlstub_cppbit.cpp:24:23: error: expected unqualified-id before numeric constant
/home/anterak/scr/spring/rts/lib/headlessStubs/sdlstub_cppbit.cpp: In function ‘void stub_sdl_sleepMilliSeconds(int)’:
/home/anterak/scr/spring/rts/lib/headlessStubs/sdlstub_cppbit.cpp:32:23: error: expected unqualified-id before numeric constant
make[3]: *** [rts/lib/headlessStubs/CMakeFiles/headlessStubs.dir/sdlstub_cppbit.cpp.o] Erreur 1
make[2]: *** [rts/lib/headlessStubs/CMakeFiles/headlessStubs.dir/all] Erreur 2
make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/rule] Erreur 2
make: *** [spring] Erreur 2

Re: building spring 0.93 on opensuse 12.3

Posted: 25 Mar 2013, 08:10
by abma
which version of boost do you have installed?

i guess this workaround for some reason fails:

https://github.com/spring/spring/blob/m ... it.cpp#L15

Re: building spring 0.93 on opensuse 12.3

Posted: 27 Mar 2013, 22:15
by anterak
thanks for he reply.
liboost is 1.49.0.96 It seems there is other avalaible.
I will try tomorrow.

Re: building spring 0.93 on opensuse 12.3

Posted: 28 Mar 2013, 09:13
by anterak
Hi
spring 93 is back on repository : build.opensuse.org/games
... And it need boost 1.53 wich is in this
thanks

[edit] but spring 0.94 is need ... :evil:

Re: building spring 0.93 on opensuse 12.3

Posted: 28 Mar 2013, 09:29
by abma
try the static linux build...

Re: building spring 0.93 on opensuse 12.3

Posted: 29 Mar 2013, 12:49
by anterak
yes.

but i want make it and i can do it. :mrgreen:

thanks a lot