building spring 0.93 on opensuse 12.3

building spring 0.93 on opensuse 12.3

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

building spring 0.93 on opensuse 12.3

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: building spring 0.93 on opensuse 12.3

Post 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
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Re: building spring 0.93 on opensuse 12.3

Post by anterak »

thanks for he reply.
liboost is 1.49.0.96 It seems there is other avalaible.
I will try tomorrow.
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Re: building spring 0.93 on opensuse 12.3

Post 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:
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: building spring 0.93 on opensuse 12.3

Post by abma »

try the static linux build...
User avatar
anterak
Posts: 67
Joined: 22 Jul 2007, 12:07

Re: building spring 0.93 on opensuse 12.3

Post by anterak »

yes.

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

thanks a lot
Post Reply

Return to “Linux”