Can anybody give me a clue?
OSX Mavericks (10.9.3)
Spring is a fresh clone taken today with the command from the build.
I did have to replace the openal port with openal-soft since openal doesn't build.
Thanks
Chad
Error:
Code: Select all
[ 55%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o
In file included from /Users/chadhinton/Documents/dev/springrts/spring/rts/System/creg/creg.h:336:0,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/System/creg/creg_cond.h:16,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/System/Object.h:10,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Objects/WorldObject.h:6,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/ExplosionGenerator.h:11,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/Projectile.h:12,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.h:6,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.h:6,
from /Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:4:
/Users/chadhinton/Documents/dev/springrts/spring/rts/System/creg/TypeDeduction.h: In instantiation of 'boost::shared_ptr<creg::IType> creg::DeduceType<T>::Get() [with T = long unsigned int]':
/Users/chadhinton/Documents/dev/springrts/spring/rts/System/creg/TypeDeduction.h:126:20: required from 'boost::shared_ptr<creg::IType> creg::GetType(T&) [with T = long unsigned int]'
/Users/chadhinton/Documents/dev/springrts/spring/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:30:1: required from here
/Users/chadhinton/Documents/dev/springrts/spring/rts/System/creg/TypeDeduction.h:20:111: error: 'StaticClass' is not a member of 'long unsigned int'
boost::shared_ptr<IType> Get() { return boost::shared_ptr<IType>(IType::CreateObjInstanceType(T::StaticClass())); }
^
make[3]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o] Error 1
make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2
make[1]: *** [rts/builds/CMakeFiles/install-spring.dir/rule] Error 2
make: *** [install-spring] Error 2
Code: Select all
Chads-MacBook-Pro-3:spring chadhinton$ cmake . -DCMAKE_CXX_COMPILER=/opt/local/bin/g++-mp-4.8 -DCMAKE_C_COMPILER=/opt/local/bin/gcc-mp-4.8 \
> -DFREETYPE_INCLUDE_DIR_freetype2=/opt/local/include/freetype2 -DFREETYPE_INCLUDE_DIR_ft2build=/opt/local/include/freetype2 \
> -DFREETYPE_LIBRARY=/opt/local/lib/libfreetype.dylib -DMVN_BIN=/opt/local/bin/mvn2 -DDOCBOOK_XSL=/opt/local/share/doc/docbook-xsl
-- gcc 4.8.2 detected
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- thread
-- regex
-- program_options
-- system
-- chrono
-- signals
-- filesystem
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- timer
-- Found SDL2: /opt/local/lib/libSDL2main.a;/opt/local/lib/libSDL2.dylib;-framework Cocoa
@(#)PROGRAM:ld PROJECT:ld64-236.3
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m arm64
LTO support using: LLVM version 3.4
-- Building Spring for 64bit environment
CMake Warning at CMakeLists.txt:332 (Message):
You are using ld.bfd, it's much slower than ld.gold.
-- Compiling with C++11
-- using mtune=generic (unsure if it will sync in online gaming)
-- Building Assimp with flags -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 -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility-inlines-hidden -pthread
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found AI Interface: C-AIInterface 0.1
-- Found AI Interface: Java-AIInterface 0.1
-- Maven version: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
-- Found AI Wrapper: Cpp-AIWrapper
-- Found AI Wrapper: JavaOO
-- Found vecmath.jar: /Users/chadhinton/Documents/dev/springrts/spring/AI/Wrappers/JavaOO/jlib/vecmath.jar
-- Maven version: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
-- Found AI Wrapper: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found Skirmish AI: AAI 0.9
-- Found Skirmish AI: CppTestAI 0.1
-- Found Skirmish AI: NullAI 0.1
-- Maven version: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
-- Found Skirmish AI: NullJavaAI 0.1 (config: default)
-- Maven version: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
-- Found Skirmish AI: NullOOJavaAI 0.1 (config: default)
-- Found Skirmish AI: RAI 0.601
-- MAN pages will be installed to {INSTALL_PREFIX}/share/man/man6
-- /Users/chadhinton/Documents/dev/springrts/spring/springsettings.cfg already exists!
-- Found SDL2: /opt/local/lib/libSDL2main.a;/opt/local/lib/libSDL2main.a;/opt/local/lib/libSDL2.dylib;-framework Cocoa;-framework Cocoa
-- Using legacy as default engine
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Configuring done
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "CUtils-AIWrapper" of target "spring-legacy" does not
exist.
Call Stack (most recent call first):
rts/builds/legacy/CMakeLists.txt:95 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "gamedata" of target "spring-legacy" does not exist.
Call Stack (most recent call first):
rts/builds/legacy/CMakeLists.txt:95 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "userdocs" of target "spring-legacy" does not exist.
Call Stack (most recent call first):
rts/builds/legacy/CMakeLists.txt:95 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "CUtils-AIWrapper" of target "spring-dedicated" does
not exist.
Call Stack (most recent call first):
rts/builds/dedicated/CMakeLists.txt:187 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "gamedata" of target "spring-dedicated" does not
exist.
Call Stack (most recent call first):
rts/builds/dedicated/CMakeLists.txt:187 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/dedicated/CMakeLists.txt:188 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "springDsDeps" of target "spring-dedicated" does not
exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/dedicated/CMakeLists.txt:188 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "springDsInstallDirs" of target "spring-dedicated"
does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "userdocs" of target "spring-dedicated" does not
exist.
Call Stack (most recent call first):
rts/builds/dedicated/CMakeLists.txt:187 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "CUtils-AIWrapper" of target "spring-headless" does
not exist.
Call Stack (most recent call first):
rts/builds/headless/CMakeLists.txt:62 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "gamedata" of target "spring-headless" does not
exist.
Call Stack (most recent call first):
rts/builds/headless/CMakeLists.txt:62 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at rts/builds/CMakeLists.txt:36 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "userdocs" of target "spring-headless" does not
exist.
Call Stack (most recent call first):
rts/builds/headless/CMakeLists.txt:62 (CreateEngineBuildAndInstallTarget)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at test/CMakeLists.txt:259 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "testCreg" of target "tests" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
unitsync
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/chadhinton/Documents/dev/springrts/spring
Chads-MacBook-Pro-3:spring chadhinton$ make install-spring