Spring compile help, please [SOLVED]

Spring compile help, please [SOLVED]

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

Moderator: Moderators

Post Reply
sprout
Posts: 2
Joined: 13 Sep 2010, 04:28

Spring compile help, please [SOLVED]

Post by sprout »

Trying to compile spring using cmake .

The following gets spit out;
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:910 (message):
Unable to find the requested Boost libraries.

Boost version: 1.42.0

Boost include path: /usr/include

The following Boost libraries could not be found:

boost_system
boost_signals

Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:106 (FIND_PACKAGE)


-- Building Spring for 32bit environment
-- Found AI Wrapper: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found AI Wrapper: Cpp-AIWrapper
-- Java version 1.6.0.18 configured successfully!
-- Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE)
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
warning: No Java includes found!
warning: Java AI Interface will not be built!
-- Found AI Interface: C-AIInterface 0.1
-- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS)
warning: Python AI Interface will not be built!
warning: NullJavaAI Skirmish AI will not be built!
warning: NullOOJavaAI Skirmish AI will not be built!
-- Found Skirmish AI: E323AI 3.22.2
-- Found Skirmish AI: KAIK 0.13
-- Found Skirmish AI: NullAI 0.1
-- Found Skirmish AI: AAI 0.9
warning: HughAI Skirmish AI will not be built!
-- Found Skirmish AI: RAI 0.601
-- Found Skirmish AI: CppTestAI 0.1
-- Could NOT find DocBook (missing: DOCBOOK_XSL)
-- MAN pages will not be generated/installed; missing utilit(y|ies): asciidoc docbook-xsl
-- Found OpenAL: /usr/lib/libopenal.so
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found Freetype: -lfreetype -lz
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found Freetype: -lfreetype -lz
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_SIGNALS_LIBRARY (ADVANCED)
linked by target "spring" in directory /home/user/Downloads/spring_0.82.5/rts/builds/default
linked by target "spring-multithreaded" in directory /home/user/Downloads/spring_0.82.5/rts/builds/GML
linked by target "spring-headless" in directory /home/user/Downloads/spring_0.82.5/rts/builds/HL
Boost_SYSTEM_LIBRARY (ADVANCED)
linked by target "lobby" in directory /home/user/Downloads/spring_0.82.5/rts/lib/lobby
linked by target "unitsync" in directory /home/user/Downloads/spring_0.82.5/tools/unitsync
linked by target "spring" in directory /home/user/Downloads/spring_0.82.5/rts/builds/default
linked by target "spring-multithreaded" in directory /home/user/Downloads/spring_0.82.5/rts/builds/GML
linked by target "springserver-static" in directory /home/user/Downloads/spring_0.82.5/rts/builds/DS
linked by target "spring-headless" in directory /home/user/Downloads/spring_0.82.5/rts/builds/HL

-- Configuring incomplete, errors occurred!

Any help greatly appreciated.

[SOLVED] Fixed. Missing dependency.
skashar
Posts: 1
Joined: 31 Mar 2011, 11:49

Re: Spring compile help, please [SOLVED]

Post by skashar »

I have the same problem.
Can you explain in detail how you solved it?


tnx
Skashar
shadowfire
Posts: 1
Joined: 09 Jul 2011, 18:26

Re: Spring compile help, please [SOLVED]

Post by shadowfire »

Can someone post on how to fix this. I also have this issue..

Thanks
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring compile help, please [SOLVED]

Post by hoijui »

log indicates it misses a dependency (boost), and in which include dir it searched (-> it is missing headers).
-> you miss package boost-dev (or boost-*-dev, if you want to get the individual ones)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring compile help, please [SOLVED]

Post by abma »

from http://springrts.com/wiki/Building_Spri ... pendencies :

sudo apt-get install libboost-thread1.42-dev libboost-regex1.42-dev libboost-system1.42-dev libboost-program-options1.42-dev libboost-signals1.42-dev

should do the trick

if you're lazy: "sudo apt-get install libboost-all-dev"
Post Reply

Return to “Linux”