bug compil:spring_0.80.2

bug compil:spring_0.80.2

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
snipe
Posts: 34
Joined: 30 Jul 2009, 19:33

bug compil:spring_0.80.2

Post by snipe »

hi,no compiling :(

Code: Select all

g++ -o build/unitsync/rts/System/FileSystem/FileHandler.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/FileSystem/FileHandler.cpp
g++ -o build/unitsync/rts/System/FileSystem/VFSHandler.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/FileSystem/VFSHandler.cpp
g++ -o build/unitsync/rts/System/FileSystem/ArchiveBuffered.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/FileSystem/ArchiveBuffered.cpp
g++ -o build/unitsync/rts/System/FileSystem/CRC.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/FileSystem/CRC.cpp
g++ -o build/unitsync/rts/System/FileSystem/ArchiveZip.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/FileSystem/ArchiveZip.cpp
g++ -o build/unitsync/rts/lib/lua/src/lzio.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/lzio.cpp
g++ -o build/unitsync/rts/lib/lua/src/ldblib.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/ldblib.cpp
g++ -o build/unitsync/rts/lib/lua/src/lbaselib.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/lbaselib.cpp
g++ -o build/unitsync/rts/lib/lua/src/ldo.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/ldo.cpp
g++ -o build/unitsync/rts/lib/lua/src/lstate.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/lstate.cpp
g++ -o build/unitsync/rts/lib/lua/src/lmathlib.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/lmathlib.cpp
rts/lib/lua/src/lmathlib.cpp: In function 'int math_sinh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:44: error: 'sinh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_cosh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:54: error: 'cosh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_tan(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:59: error: 'tan' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_tanh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:64: error: 'tanh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_asin(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:69: error: 'asin' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_acos(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:74: error: 'acos' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_atan(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:79: error: 'atan' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_atan2(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:84: error: 'atan2' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_ceil(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:89: error: 'ceil' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_floor(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:94: error: 'floor' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_fmod(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:99: error: 'fmod' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_modf(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:116: error: 'fmod' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_pow(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:130: error: 'pow' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_log(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:135: error: 'log' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_log10(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:140: error: 'log10' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_exp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:145: error: 'exp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_frexp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:161: error: 'frexp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_ldexp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:167: error: 'ldexp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_random(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:231: error: 'floor' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp:238: error: 'floor' is not a member of 'math'
scons: *** [build/unitsync/rts/lib/lua/src/lmathlib.cpp.os] Error 1
scons: building terminated because of errors.

ditribution :

debian 5.0 all update, fluxbox

Code: Select all

 scons configure
scons: Reading SConscript files ...

If you plan to edit the spring SCons build-system,
please read these a hundred times first:
        "Let it be, let it be!"
        "I'm going craaaaaaaazy! You just can't see!"
        My mental health is important.
        I do not want to do it.
        It is always nice to have a walk outside.

SCons tools copied to tmp-dir: /tmp/springSconsBuildScripts/dccadc517eb23d38501fcec029f84e45
source root-dir: /home/jeux/Desktop/spring_0.80.2

Now configuring.  If something fails, consult `config.log' for details.

Detected platform : linux
Checking gcc version... 4.3.2
Toolchain options:
CC=gcc
CXX=g++
AR=ar
RANLIB=ranlib

Configuring for i686
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled
Precompiled header enabled
OpenGL Multithreading Library and parallel threads for Sim/Draw are NOT enabled

Configuring spring
Checking for zip... Zip 2.32 found
Checking for Freetype2...
  Checking for freetype-config... /usr/bin/freetype-config
  Checking for Freetype >= 2.0.0... 2.3.7
Checking for SDL...
  Checking for sdl-config... /usr/bin/sdl-config
  Checking for LibSDL >= 1.2.0... 1.2.12
Checking for OpenAL...
  Checking for openal-config... /usr/bin/openal-config
  Guessing OpenAL include path...
                /usr/include/AL
Checking for Ogg headers...
  Guessing ogg include path...
                /usr/include/ogg
Checking for Vorbis(-file) headers...
  Guessing vorbisfile include path...
                /usr/include/vorbis
Checking for Java includes ... /usr/lib/jvm/java-6-sun/include
Checking for Java executables ...
Checking headers and libraries
Checking for C++ header file boost/cstdint.hpp... (cached) yes
Checking for C++ header file boost/regex.hpp... (cached) yes
Checking for C library boost_regex-gcc-mt... (cached) no
Checking for C library boost_regex-mt... (cached) yes
Checking for C++ header file boost/serialization/split_member.hpp... (cached) yes
Checking for C++ header file boost/thread.hpp... (cached) yes
Checking for C library boost_thread-gcc-mt... (cached) no
Checking for C library boost_thread-mt... (cached) yes
Checking for C++ header file boost/program_options.hpp... (cached) yes
Checking for C library boost_program_options-gcc-mt... (cached) no
Checking for C library boost_program_options-mt... (cached) yes
Checking for C++ header file boost/system/error_code.hpp... (cached) yes
Checking for C library boost_system-gcc-mt... (cached) no
Checking for C library boost_system-mt... (cached) yes
Checking for C++ header file boost/signal.hpp... (cached) yes
Checking for C library boost_signals-gcc-mt... (cached) no
Checking for C library boost_signals-mt... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C library GL... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
Checking for C library GLEW... (cached) yes
Checking for C++ header file zlib.h... (cached) yes
Checking for C library zlib... (cached) no
Checking for C library zlib1... (cached) no
Checking for C library z... (cached) yes
Checking for C++ header file ft2build.h... (cached) yes
Checking for C library freetype6... (cached) no
Checking for C library freetype... (cached) yes
Checking for C++ header file IL/il.h... (cached) yes
Checking for C library IL... (cached) yes
Checking for C++ header file IL/ilu.h... (cached) yes
Checking for C library ILU... (cached) yes
Checking for C++ header file AL/al.h... (cached) yes
Checking for C library openal... (cached) yes
Checking for C++ header file X11/Xcursor/Xcursor.h... (cached) yes
Checking for C library Xcursor... (cached) yes
Checking for C++ header file X11/X.h... (cached) yes
Checking for C library X11... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C library vorbisfile... (cached) yes
Checking for C library vorbis... (cached) yes
Checking for C++ header file ogg/ogg.h... (cached) yes
Checking for C library ogg... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C++ header file jni.h... (cached) yes

Everything seems OK.  Run `scons' now to build.
AI installprefix: /usr/local/lib/spring/AI
Found AI Interface: Java 0.1
Found AI Interface: C 0.1
Found Skirmish AI: NullOOJavaAI 0.1
Found Skirmish AI: KAIK 0.13
Found Skirmish AI: NullJavaAI 0.1
Found Skirmish AI: AAI 0.9
Found Skirmish AI: RAI 0.601
Found Skirmish AI: NullLegacyCppAI 0.1
Found Skirmish AI: NullAI 0.1
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `configure'.
scons: done building targets.
uname -a
Linux wboost 2.6.26.cust.12.min.gcc4 #1 SMP Mon Aug 17 14:42:09 CEST 2009 i686 GNU/Linux

note kernel is identic: kernel 2.6.26-2-686

tanx you for help
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: bug compil:spring_0.80.2

Post by SirMaverick »

scons build is poorly maintained. Use cmake.
snipe
Posts: 34
Joined: 30 Jul 2009, 19:33

Re: bug compil:spring_0.80.2

Post by snipe »

note update libboost 1.38 idem problem:

Code: Select all

g++ -o build/unitsync/rts/lib/lua/src/lmathlib.cpp.os -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -pthread -fPIC -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DUNITSYNC -DBITMAP_NO_OPENGL -Irts -Irts/System -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/AL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/lib/lua/src/lmathlib.cpp
rts/lib/lua/src/lmathlib.cpp: In function 'int math_sinh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:44: error: 'sinh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_cosh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:54: error: 'cosh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_tan(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:59: error: 'tan' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_tanh(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:64: error: 'tanh' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_asin(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:69: error: 'asin' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_acos(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:74: error: 'acos' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_atan(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:79: error: 'atan' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_atan2(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:84: error: 'atan2' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_ceil(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:89: error: 'ceil' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_floor(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:94: error: 'floor' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_fmod(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:99: error: 'fmod' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_modf(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:116: error: 'fmod' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_pow(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:130: error: 'pow' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_log(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:135: error: 'log' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_log10(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:140: error: 'log10' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_exp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:145: error: 'exp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_frexp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:161: error: 'frexp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_ldexp(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:167: error: 'ldexp' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp: In function 'int math_random(lua_State*)':
rts/lib/lua/src/lmathlib.cpp:231: error: 'floor' is not a member of 'math'
rts/lib/lua/src/lmathlib.cpp:238: error: 'floor' is not a member of 'math'
scons: *** [build/unitsync/rts/lib/lua/src/lmathlib.cpp.os] Error 1
scons: building terminated because of errors.

Code: Select all

dpkg -l libboost* |grep ii
ii  libboost-date-time-dev                  1.38.1                                                date-time libraries based on generic programming (default version)
ii  libboost-date-time1.35.0                1.35.0-5                                              set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.38-dev              1.38.0-7                                              set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.38.0                1.38.0-7                                              set of date-time libraries based on generic programming concepts
ii  libboost-dev                            1.38.1                                                Boost C++ Libraries development files (default version)
ii  libboost-doc                            1.38.1                                                Boost C++ Libraries documentation (default version)
ii  libboost-filesystem-dev                 1.38.1                                                filesystem operations in C++ (default version)
ii  libboost-filesystem1.34.1               1.34.1-14                                             filesystem operations (portable paths, iteration over directories,
ii  libboost-filesystem1.35.0               1.35.0-5                                              filesystem operations (portable paths, iteration over directories,
ii  libboost-filesystem1.38-dev             1.38.0-7                                              filesystem operations (portable paths, iteration over directories,
ii  libboost-filesystem1.38.0               1.38.0-7                                              filesystem operations (portable paths, iteration over directories,
ii  libboost-graph-dev                      1.38.1                                                generic graph components and algorithms in C++ (default version)
ii  libboost-graph1.35.0                    1.35.0-5                                              generic graph components and algorithms in C++
ii  libboost-graph1.38-dev                  1.38.0-7                                              generic graph components and algorithms in C++
ii  libboost-graph1.38.0                    1.38.0-7                                              generic graph components and algorithms in C++
ii  libboost-iostreams-dev                  1.38.1                                                Boost.Iostreams Library development files (default version)
ii  libboost-iostreams1.34.1                1.34.1-14                                             Boost.Iostreams Library
ii  libboost-iostreams1.35.0                1.35.0-5                                              Boost.Iostreams Library
ii  libboost-iostreams1.38-dev              1.38.0-7                                              Boost.Iostreams Library development files
ii  libboost-iostreams1.38.0                1.38.0-7                                              Boost.Iostreams Library
ii  libboost-math-dev                       1.38.1                                                Boost.Math Library development files (default version)
ii  libboost-math1.38-dev                   1.38.0-7                                              Boost.Math Library development files
ii  libboost-math1.38.0                     1.38.0-7                                              Boost.Math Library
ii  libboost-mpi-dev                        1.38.1                                                C++ interface to the Message Passing Interface (MPI) (default vers
ii  libboost-mpi1.38-dev                    1.38.0-7                                              C++ interface to the Message Passing Interface (MPI)
ii  libboost-mpi1.38.0                      1.38.0-7                                              C++ interface to the Message Passing Interface (MPI)
ii  libboost-program-options-dev            1.38.1                                                program options library for C++ (default version)
ii  libboost-program-options1.35.0          1.35.0-5                                              program options library for C++
ii  libboost-program-options1.38-dev        1.38.0-7                                              program options library for C++
ii  libboost-program-options1.38.0          1.38.0-7                                              program options library for C++
ii  libboost-python-dev                     1.38.1                                                Boost.Python Library development files (default version)
ii  libboost-python1.35.0                   1.35.0-5                                              Boost.Python Library
ii  libboost-python1.38-dev                 1.38.0-7                                              Boost.Python Library development files
ii  libboost-python1.38.0                   1.38.0-7                                              Boost.Python Library
ii  libboost-regex-dev                      1.38.1                                                regular expression library for C++ (default version)
ii  libboost-regex1.35.0                    1.35.0-5                                              regular expression library for C++
ii  libboost-regex1.38-dev                  1.38.0-7                                              regular expression library for C++
ii  libboost-regex1.38.0                    1.38.0-7                                              regular expression library for C++
ii  libboost-serialization-dev              1.38.1                                                serialization library for C++ (default version)
ii  libboost-serialization1.35.0            1.35.0-5                                              serialization library for C++
ii  libboost-serialization1.38-dev          1.38.0-7                                              serialization library for C++
ii  libboost-serialization1.38.0            1.38.0-7                                              serialization library for C++
ii  libboost-signals-dev                    1.38.1                                                managed signals and slots library for C++ (default version)
ii  libboost-signals1.35.0                  1.35.0-5                                              managed signals and slots library for C++
ii  libboost-signals1.38-dev                1.38.0-7                                              managed signals and slots library for C++
ii  libboost-signals1.38.0                  1.38.0-7                                              managed signals and slots library for C++
ii  libboost-system-dev                     1.38.1                                                Operating system (e.g. diagnostics support) library (default versi
ii  libboost-system1.35.0                   1.35.0-5                                              Operating system (e.g. diagnostics support) library
ii  libboost-system1.38-dev                 1.38.0-7                                              Operating system (e.g. diagnostics support) library
ii  libboost-system1.38.0                   1.38.0-7                                              Operating system (e.g. diagnostics support) library
ii  libboost-test-dev                       1.38.1                                                components for writing and executing test suites (default version)
ii  libboost-test1.35.0                     1.35.0-5                                              components for writing and executing test suites
ii  libboost-test1.38-dev                   1.38.0-7                                              components for writing and executing test suites
ii  libboost-test1.38.0                     1.38.0-7                                              components for writing and executing test suites
ii  libboost-thread-dev                     1.38.1                                                portable C++ multi-threading (default version)
ii  libboost-thread1.34.1                   1.34.1-14                                             portable C++ multi-threading
ii  libboost-thread1.35.0                   1.35.0-5                                              portable C++ multi-threading
ii  libboost-thread1.38-dev                 1.38.0-7                                              portable C++ multi-threading
ii  libboost-thread1.38.0                   1.38.0-7                                              portable C++ multi-threading
ii  libboost-wave-dev                       1.38.1                                                C99/C++ preprocessor library (default version)
ii  libboost-wave1.35.0                     1.35.0-5                                              C99/C++ preprocessor library
ii  libboost-wave1.38-dev                   1.38.0-7                                              C99/C++ preprocessor library
ii  libboost-wave1.38.0                     1.38.0-7                                              C99/C++ preprocessor library
ii  libboost1.38-dbg                        1.38.0-7                                              Boost C++ Libraries with debug symbols
ii  libboost1.38-dev                        1.38.0-7                                              Boost C++ Libraries development files
ii  libboost1.38-doc                        1.38.0-7                                              Boost.org libraries documentation

SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: bug compil:spring_0.80.2

Post by SirMaverick »

You are still using scons. Try cmake.
instead of:

Code: Select all

scons configure
scons
do:

Code: Select all

cmake  -DCMAKE_BUILD_TYPE=RELEASE
make
Post Reply

Return to “Help & Bugs”