A problem of cofiguring, install spring on my linux

A problem of cofiguring, install spring on my linux

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

Moderator: Moderators

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

A problem of cofiguring, install spring on my linux

Post by pengjusu »

When i install spring on my Ubuntu, the problem occurs, after i input cmake . the output is :

Code: Select all

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   thread
--   regex
--   program_options
--   system
--   signals
-- Found DEVIL: /usr/lib/libIL.so
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden - yes
-- Checking to see if CXX compiler accepts flag -msse -mfpmath=sse
-- Checking to see if CXX compiler accepts flag -msse -mfpmath=sse - yes
-- Checking to see if CXX compiler accepts flag -mieee-fp
-- Checking to see if CXX compiler accepts flag -mieee-fp - yes
-- Building Spring for 64bit environment
-- Found ZLIB: /usr/local/lib/libz.so 
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found AI Wrapper: Cpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Found JNI: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjawt.so 
-- Found AI Interface: Java-AIInterface 0.1
-- Found AI Interface: C-AIInterface 0.1
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Found PythonLibs: /usr/lib/libpython2.7.so 
-- Found AI Interface: Python-AIInterface 0.1
-- Found Skirmish AI: NullPythonAI 0.1
-- Found Skirmish AI: HughAI 0.1
-- Found Skirmish AI: CppTestAI 0.1
-- Found Skirmish AI: E323AI 3.22.3
-- Found Skirmish AI: NullJavaAI 0.1 (config: default)
-- Found Skirmish AI: NullOOJavaAI 0.1 (config: default)
-- Found Skirmish AI: RAI 0.601
-- Found Skirmish AI: AAI 0.9
-- Found Skirmish AI: KAIK 0.13
-- Found Skirmish AI: NullAI 0.1
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPackageMessage.cmake:36 (IF):
  given arguments:

    "NOT" "7zip_FIND_QUIETLY"

  An argument named "7zip_FIND_QUIETLY" appears in a conditional statement.
  Policy CMP0012 is not set: if() recognizes numbers and boolean constants.
  Run "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:243 (FIND_PACKAGE_MESSAGE)
  rts/build/cmake/Find7zip.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:219 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found XSLTProc: /usr/bin/xsltproc 
-- Found DocBook: /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl 
-- MAN pages will be installed to {INSTALL_PREFIX}/share/man/man6
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisfile.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found GLEW: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Found Freetype: -L/usr/lib/x86_64-linux-gnu -lfreetype -lz
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found Freetype: -L/usr/lib/x86_64-linux-gnu -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:
X11_Xcursor_LIB (ADVANCED)
    linked by target "spring" in directory /home/ju/下载/spring/rts/builds/default
    linked by target "spring-multithreaded" in directory /home/ju/下载/spring/rts/builds/GML

-- Configuring incomplete, errors occurred!
Can someone help? Thanks
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: A problem of cofiguring, install spring on my linux

Post by jK »

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:
X11_Xcursor_LIB (ADVANCED)
install xcursor
pengjusu
Posts: 10
Joined: 25 Oct 2012, 17:40

Re: A problem of cofiguring, install spring on my linux

Post by pengjusu »

jK wrote:
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:
X11_Xcursor_LIB (ADVANCED)
install xcursor
Thans, it works now.
Post Reply

Return to “Linux”