View Revisions: Issue #4347
[ Back to Issue ]
Summary | 0004347: 0.97rc1 gcc compile fails on MacOS X whereas 0.96 compile succeeds | ||
---|---|---|---|
Revision | 2014-03-27 17:29 by LordMatt | ||
Description | While I had previously gotten spring 0.96 to compile on MacOS X with gcc 4.7, 0.97rc1 does not compile with this error: [ 44%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o cd /Users/matt/Desktop/spring_src_gcc/rts/builds/legacy && /usr/local/bin/g++-4.7 -DBOOST_NO_FENV_H -DMACOSX_BUNDLE -DSPRING_DATADIR=\"\" -DSTREFLOP_SSE -DSYNCCHECK -DTHREADPOOL -DUSE_FONTCONFIG -DUSE_LIBSQUISH -D_GLIBCXX_USE_NANOSLEEP -D_RANDOM_TCC -std=gnu++11 -mtune=generic -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility-inlines-hidden -pthread -O2 -Wno-unknown-pragmas -DNDEBUG -g -I/Users/matt/Desktop/spring_src_gcc/rts/lib/lua/include -I/usr/local/Cellar/boost/1.55.0_1/include -I/Users/matt/Desktop/spring_src_gcc/include/AL -I/Users/matt/Desktop/spring_src_gcc/rts/lib -I/Users/matt/Desktop/spring_src_gcc/rts -I/opt/local/include -I/Users/matt/Desktop/spring_src_gcc/src-generated/engine -I/opt/local/include/SDL2 -I/opt/local/include/freetype2 -I/System/Library/Frameworks/OpenAL.framework/Headers -fPIC -o CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o -c /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp In file included from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg.h:336:0, from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg_cond.h:16, from /Users/matt/Desktop/spring_src_gcc/rts/System/Object.h:10, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Objects/WorldObject.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/ExplosionGenerator.h:11, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/Projectile.h:12, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:4: /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h: In instantiation of 'boost::shared_ptr<creg::IType> creg::DeduceType<T>::Get() [with T = long unsigned int]': /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:126:20: required from 'boost::shared_ptr<creg::IType> creg::GetType(T&) [with T = long unsigned int]' /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:30:1: required from here /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:20:113: error: 'StaticClass' is not a member of 'long unsigned int' make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o] Error 1 make[1]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2 make: *** [all] Error 2 abma suggested commits 5b1aa97e802deae3ce983eee2c92ada590686bb1 and 97f3aa1b6baf4e11c4f791b3b697ada7abdaa03f might be related Similar to the error reported here: http://springrts.com/phpbb/viewtopic.php?p=554938#p554938 |
||
Revision | 2014-05-01 01:46 by abma | ||
Description | While I had previously gotten spring 0.96 to compile on MacOS X with gcc 4.7, 0.97rc1 does not compile with this error: [ 44%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o cd /Users/matt/Desktop/spring_src_gcc/rts/builds/legacy && /usr/local/bin/g++-4.7 -DBOOST_NO_FENV_H -DMACOSX_BUNDLE -DSPRING_DATADIR=\"\" -DSTREFLOP_SSE -DSYNCCHECK -DTHREADPOOL -DUSE_FONTCONFIG -DUSE_LIBSQUISH -D_GLIBCXX_USE_NANOSLEEP -D_RANDOM_TCC -std=gnu++11 -mtune=generic -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility-inlines-hidden -pthread -O2 -Wno-unknown-pragmas -DNDEBUG -g -I/Users/matt/Desktop/spring_src_gcc/rts/lib/lua/include -I/usr/local/Cellar/boost/1.55.0_1/include -I/Users/matt/Desktop/spring_src_gcc/include/AL -I/Users/matt/Desktop/spring_src_gcc/rts/lib -I/Users/matt/Desktop/spring_src_gcc/rts -I/opt/local/include -I/Users/matt/Desktop/spring_src_gcc/src-generated/engine -I/opt/local/include/SDL2 -I/opt/local/include/freetype2 -I/System/Library/Frameworks/OpenAL.framework/Headers -fPIC -o CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o -c /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp In file included from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg.h:336:0, from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg_cond.h:16, from /Users/matt/Desktop/spring_src_gcc/rts/System/Object.h:10, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Objects/WorldObject.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/ExplosionGenerator.h:11, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/Projectile.h:12, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:4: /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h: In instantiation of 'boost::shared_ptr<creg::IType> creg::DeduceType<T>::Get() [with T = long unsigned int]': /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:126:20: required from 'boost::shared_ptr<creg::IType> creg::GetType(T&) [with T = long unsigned int]' /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:30:1: required from here /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:20:113: error: 'StaticClass' is not a member of 'long unsigned int' make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o] Error 1 make[1]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2 make: *** [all] Error 2 abma suggested commits 5b1aa97e802deae3ce983eee2c92ada590686bb1 and 97f3aa1b6baf4e11c4f791b3b697ada7abdaa03f might be related Similar to the error reported here: http://springrts.com/phpbb/viewtopic.php?p=554799#p554799 |