Error for cmake .

Error for cmake .

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
snipe
Posts: 34
Joined: 30 Jul 2009, 19:33

Error for cmake .

Post by snipe »

Hello

How can I build?
I am running debian squeez

Code: Select all

$ cmake .
-- 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.42.0
-- 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/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: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found AI Wrapper: Cpp-AIWrapper
-- Found PythonInterp: /usr/bin/python2.6
-- Found PythonLibs: /usr/lib/libpython2.6.so
-- Found AI Interface: Python-AIInterface 0.1
-- Found Skirmish AI: NullPythonAI 0.1
-- Found AI Interface: C-AIInterface 0.1
-- Java version 1.6.0.18 configured successfully!
-- Found Java: /usr/bin/java
-- Found JNI: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjawt.so
-- Found AI Interface: Java-AIInterface 0.1
-- Found Skirmish AI: RAI 0.601
-- Found Skirmish AI: NullAI 0.1
-- Found Skirmish AI: E323AI 3.25.0
-- Found Skirmish AI: KAIK 0.13
-- Found Skirmish AI: NullOOJavaAI 0.1 (config: default)
-- Found Skirmish AI: HughAI 0.1
-- Found Skirmish AI: CppTestAI 0.1
-- Found Skirmish AI: AAI 0.9
-- Found Skirmish AI: NullJavaAI 0.1 (config: default)
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:67 (FIND_PACKAGE_MESSAGE)
  rts/build/cmake/Find7zip.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:213 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find XSLTProc  (missing:  XSLTPROC_BIN)
-- Could NOT find DocBook  (missing:  DOCBOOK_XSL)
-- MAN pages will not be generated/installed; missing utilit(y|ies): asciidoc xsltproc docbook-xsl
-- Found OpenAL: /usr/lib/libopenal.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/libogg.so;/usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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/libX11.so
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Found GLEW: /usr/lib64/libGLEW.so
-- 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:
SDL_INCLUDE_DIR
   used as include directory in directory /home/jeux/Desktop/spring_0.82.7.1/rts/lib/gml
   used as include directory in directory /home/jeux/Desktop/spring_0.82.7.1/rts/System/Sound
   used as include directory in directory /home/jeux/Desktop/spring_0.82.7.1/rts/builds/default
   used as include directory in directory /home/jeux/Desktop/spring_0.82.7.1/rts/builds/GML

-- Configuring incomplete, errors occurred!


thank you in advance
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Error for cmake .

Post by hoijui »

you are missing SDL headers, and most likely other dependencies too.
have a look here:
http://springrts.com/wiki/Build_from_source#Debian
snipe
Posts: 34
Joined: 30 Jul 2009, 19:33

Re: Error for cmake .

Post by snipe »

tanks ,problem solved 8)
Post Reply

Return to “Help & Bugs”