Help me about the problem of compile on mac

Help me about the problem of compile on mac

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

Post Reply
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Help me about the problem of compile on mac

Post by pengjusu »

i am new to spring, and i want to install spring on my mac ox lion, but i have a problem now. When i write 'cmake .', it work all right only one small thing:
-- Could NOT find DocBook (missing: DOCBOOK_XSL)

But after, i write the following word 'make spring', it has problems:

I have tried many times, but i cant solve the problem, can anyone help me? thanks a lot!!!!

Edit on 29/10/2012, i have put the whole output in the file and attach it below. It contains the errors. I have install gcc dans my mac, i downloaded it sous Xcode--preference-download-command lines
Attachments
errer.txt
(37.5 KiB) Downloaded 35 times
Last edited by pengjusu on 29 Oct 2012, 23:02, edited 2 times in total.
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem compile on mac

Post by pengjusu »

This is the result after 'cmake':

Code: Select all

-- Boost version: 1.51.0
-- Found the following Boost libraries:
--   thread
--   regex
--   program_options
--   system
--   signals
-- Building Spring for 64bit environment
-- Found AI Wrapper: Cpp-AIWrapper
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found AI Wrapper: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found AI Interface: C-AIInterface 0.1
-- Found AI Interface: Java-AIInterface 0.1
-- Found AI Interface: Python-AIInterface 0.1
-- Found Skirmish AI: NullPythonAI 0.1
-- Found Skirmish AI: AAI 0.9
-- Found Skirmish AI: CppTestAI 0.1
-- Found Skirmish AI: E323AI 3.22.3
-- Found Skirmish AI: HughAI 0.1
-- Found Skirmish AI: KAIK 0.13
-- Found Skirmish AI: NullAI 0.1
-- Found Skirmish AI: NullJavaAI 0.1 (config: default)
-- Found Skirmish AI: NullOOJavaAI 0.1 (config: default)
-- Found Skirmish AI: RAI 0.601
-- Could NOT find DocBook (missing:  DOCBOOK_XSL) 
-- MAN pages will not be generated/installed; missing utilit(y|ies): docbook-xsl
-- Found OpenAL: /System/Library/Frameworks/OpenAL.framework
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found Freetype: -L/usr/X11/lib -lfreetype -lz -lbz2
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found Freetype: -L/usr/X11/lib -lfreetype -lz -lbz2
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Configuring done
-- Generating done
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Help me about the problem compile on mac

Post by hoijui »

your compile output only shows some warnings, not the 2 errors ..
so please put the whole output in a file, and attach it as file to your forum post.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Help me about the problem compile on mac

Post by abma »

without more info i guess you are not using gcc... afaik spring currently doesn't work with clang. install gcc and it should compile fine.
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem compile on mac

Post by pengjusu »

hoijui wrote:your compile output only shows some warnings, not the 2 errors ..
so please put the whole output in a file, and attach it as file to your forum post.
I have put the file, can u check the problem and help me?
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem compile on mac

Post by pengjusu »

abma wrote:without more info i guess you are not using gcc... afaik spring currently doesn't work with clang. install gcc and it should compile fine.
I have installed gcc, on mac, i download the command line in Xcode, it contains gcc.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Help me about the problem of compile on mac

Post by abma »

from errer.txt:
-- The CXX compiler identification is Clang 4.1.0

c compiler is correct, for c++ clang is still used. maybe g++ is an extra package and needs to be installed, too?
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem of compile on mac

Post by pengjusu »

abma wrote:from errer.txt:
-- The CXX compiler identification is Clang 4.1.0

c compiler is correct, for clang is still used. maybe g++ is an extra package and needs to be installed, too?
Thanks, i'll try it and see if it works.
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem of compile on mac

Post by pengjusu »

abma wrote:from errer.txt:
-- The CXX compiler identification is Clang 4.1.0

c compiler is correct, for c++ clang is still used. maybe g++ is an extra package and needs to be installed, too?
I installed gcc again, now it seems good, no more warnings, but another error occurs.

Code: Select all

Scanning dependencies of target sound
[  0%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/IAudioChannel.cpp.o
[  0%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/IEffectChannel.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/IMusicChannel.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/ISound.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/NullSound.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/SoundLog.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/ALShared.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/EffectChannel.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/MusicChannel.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/OggStream.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/Sound.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/SoundBuffer.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/SoundItem.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/SoundSource.cpp.o
[  3%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/VorbisShared.cpp.o
Linking CXX static library libsound.a
[  3%] Built target sound
Scanning dependencies of target streflop
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/SMath.cpp.o
/Users/FuRao/spring_0.82.5.1/rts/lib/streflop/SMath.cpp:9: warning: division by zero in ‘1.0e+0f / 0.’
/Users/FuRao/spring_0.82.5.1/rts/lib/streflop/SMath.cpp:10: warning: division by zero in ‘-1.0e+0f / 0.’
/Users/FuRao/spring_0.82.5.1/rts/lib/streflop/SMath.cpp:15: warning: division by zero in ‘1.0e+0 / 0.’
/Users/FuRao/spring_0.82.5.1/rts/lib/streflop/SMath.cpp:16: warning: division by zero in ‘-1.0e+0 / 0.’
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/Random.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/streflopC.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_acosf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_acoshf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_asinf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_atan2f.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_atanhf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_coshf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_exp2f.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_expf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_fmodf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_gammaf_r.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_hypotf.cpp.o
[  3%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_j0f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_j1f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_jnf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_lgammaf_r.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_log10f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_log2f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_logf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_powf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_rem_pio2f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_remainderf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_sinhf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_sqrtf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/k_cosf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/k_rem_pio2f.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/k_sinf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/k_tanf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_asinhf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_atanf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_cbrtf.cpp.o
[  6%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_ceilf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_copysignf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_cosf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_erff.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_expm1f.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_fabsf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_finitef.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_floorf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_fpclassifyf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_frexpf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_ilogbf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_isinff.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_isnanf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_ldexpf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_llrintf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_llroundf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_log1pf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_logbf.cpp.o
[  9%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_lrintf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_lroundf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_modff.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_nearbyintf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_nextafterf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_remquof.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_rintf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_roundf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_scalblnf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_scalbnf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_signbitf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_sincosf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_sinf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_tanf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_tanhf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_truncf.cpp.o
[ 12%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/w_expf.cpp.o
Linking CXX static library libstreflop.a
[ 12%] Built target streflop
Scanning dependencies of target lua
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lapi.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lauxlib.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lbaselib.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lcode.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ldblib.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ldebug.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ldo.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ldump.cpp.o
[ 12%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lfunc.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lgc.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/linit.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/liolib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/llex.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lmathlib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lmem.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/loadlib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lobject.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lopcodes.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/loslib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lparser.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lstate.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lstring.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lstrlib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ltable.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ltablib.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/ltm.cpp.o
[ 16%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lundump.cpp.o
[ 19%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lvm.cpp.o
[ 19%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/lzio.cpp.o
[ 19%] Building CXX object rts/lib/lua/CMakeFiles/lua.dir/src/print.cpp.o
Linking CXX static library liblua.a
[ 19%] Built target lua
Scanning dependencies of target 7zip
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/7zBuf.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/7zBuf2.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/7zCrc.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/7zFile.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/7zStream.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Bcj2.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Bra.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Bra86.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/LzmaDec.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zAlloc.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zDecode.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zExtract.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zHeader.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zIn.c.o
[ 19%] Building C object rts/lib/7z/CMakeFiles/7zip.dir/Archive/7z/7zItem.c.o
Linking C static library lib7zip.a
[ 19%] Built target 7zip
Scanning dependencies of target oscpack
[ 19%] Building CXX object rts/lib/oscpack/CMakeFiles/oscpack.dir/OscOutboundPacketStream.cpp.o
[ 19%] Building CXX object rts/lib/oscpack/CMakeFiles/oscpack.dir/OscTypes.cpp.o
Linking CXX static library liboscpack.a
[ 19%] Built target oscpack
Scanning dependencies of target minizip
[ 19%] Building C object rts/lib/minizip/CMakeFiles/minizip.dir/unzip.c.o
[ 19%] Building C object rts/lib/minizip/CMakeFiles/minizip.dir/zip.c.o
[ 19%] Building C object rts/lib/minizip/CMakeFiles/minizip.dir/ioapi.c.o
Linking C static library libminizip.a
[ 19%] Built target minizip
Scanning dependencies of target md5
[ 19%] Building C object rts/lib/md5/CMakeFiles/md5.dir/md5.c.o
[ 19%] Building CXX object rts/lib/md5/CMakeFiles/md5.dir/base64.cpp.o
Linking CXX static library libmd5.a
[ 19%] Built target md5
Scanning dependencies of target lobby
[ 19%] Building CXX object rts/lib/lobby/CMakeFiles/lobby.dir/RawTextMessage.cpp.o
[ 19%] Building CXX object rts/lib/lobby/CMakeFiles/lobby.dir/Connection.cpp.o
In file included from /Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.cpp:7:
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.h:58: error: ‘std::list’ has not been declared
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.h:58: error: expected ‘,’ or ‘...’ before ‘<’ token
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.h:104: error: ISO C++ forbids declaration of ‘list’ with no type
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.h:104: error: invalid use of ‘::’
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.h:104: error: expected ‘;’ before ‘<’ token
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.cpp: In member function ‘void Connection::DataReceived(const std::string&, const std::string&)’:
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.cpp:408: error: ‘mutelistBuf’ was not declared in this scope
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.cpp:412: error: ‘mutelistBuf’ was not declared in this scope
/Users/FuRao/spring_0.82.5.1/rts/lib/lobby/Connection.cpp:416: error: ‘mutelistBuf’ was not declared in this scope
make[3]: *** [rts/lib/lobby/CMakeFiles/lobby.dir/Connection.cpp.o] Error 1
make[2]: *** [rts/lib/lobby/CMakeFiles/lobby.dir/all] Error 2
make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
:( :( :(
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Help me about the problem of compile on mac

Post by abma »

which version are you compiling?

afaik spring_0.82.5.1 doesn't compile on mac. 91.0 does...
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem of compile on mac

Post by pengjusu »

abma wrote:which version are you compiling?

afaik spring_0.82.5.1 doesn't compile on mac. 91.0 does...
But i need 0.82.5.1, thats my travail i need to work on it. I tried 91.0 just now, but it seems that it doesnt work either.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Help me about the problem of compile on mac

Post by abma »

pengjusu wrote:I tried 91.0 just now, but it seems that it doesnt work either.
can you be more specific? it works well on a macosx buildslave...


0.82.5.1 will only work if you backport the fixes. (and thats no fun i guess)
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: Help me about the problem of compile on mac

Post by pengjusu »

abma wrote:
pengjusu wrote:I tried 91.0 just now, but it seems that it doesnt work either.
can you be more specific? it works well on a macosx buildslave...


0.82.5.1 will only work if you backport the fixes. (and thats no fun i guess)
Sry for that, but it is my projet in school, and i should work in 0.82.5.1 as meme as school. i have installed it well on another os Ubuntu, but only mac, it cant work.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Help me about the problem of compile on mac

Post by abma »

you can/could try to fix it, but that would be a lot of work.

better annoy your school that they switch to spring 91.0 :)


afaik the current error can be fixed by adding "#include <list>" to the header file. but i guess there will some more errors follow...
Post Reply

Return to “Mac OS X”