[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] CMake & CVS
From: |
Alexandre Courbot |
Subject: |
Re: [Adonthell-devel] CMake & CVS |
Date: |
Sun, 24 Sep 2006 11:07:08 +0200 |
Just tried cmake - I run into the mandatory problems at that stage.
First, here is my cmake version:
$ cmake --version
cmake version 2.4-patch 3
And here is what happens when I run cmake from a 'build' subdirectory:
$ cmake -DADONTHELL_DATADIR="/usr/local/share/games/adonthell" ..
-- Adonthell data directory: /usr/local/share/games/adonthell
-- SDL has been found:
-- Include Directory: /usr/include/SDL
-- Libraries: /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread
-- SDL_mixer has been found:
-- Include Directory: /usr/include/SDL
-- Libraries: /usr/lib/libSDL_mixer.so
-- Python has been found:
-- Include directory: /usr/include/python2.4
-- Libraries: /usr/lib/python2.4/config/libpython2.4.so
-- PNG_mixer has been found:
-- Include Directory: /usr/include;/usr/include
-- Libraries: /usr/lib/libpng.so
CMake Error: Error in cmake code at
/home/alex/Work/adonthell/CMakeLists.txt:109:
INCLUDE Could not find include file: config/FindSWIG.cmake
Current CMake stack:
/home/alex/Work/adonthell/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/home/alex/Work/adonthell/config/FindSWIG.cmake
CMake Error: Error in cmake code at
/home/alex/Work/adonthell/CMakeLists.txt:114:
MESSAGE Impossible to locate SWIG.
Current CMake stack:
/home/alex/Work/adonthell/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/home/alex/Work/adonthell/config/FindSWIG.cmake
-- Configuring done
I've figured out that I can fix that by commenting out
include(config/FindSWIG.cmake)
in CMakeLists.txt and restoring
find_package(SWIG REQUIRED)
However, I cannot fix it that way for libxml2. I get either
CMake Error: Error in cmake code at
/home/alex/Work/adonthell/CMakeLists.txt:122:
INCLUDE Could not find include file: config/FindLibxml2.cmake
Current CMake stack:
/home/alex/Work/adonthell/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/home/alex/Work/adonthell/config/FindLibxml2.cmake
CMake Error: Error in cmake code at
/home/alex/Work/adonthell/CMakeLists.txt:131:
MESSAGE LibXml2 is required.
Current CMake stack:
/home/alex/Work/adonthell/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/home/alex/Work/adonthell/config/FindLibxml2.cmake
on the unmodified CMakeLists.txt, or
CMake Error: Libxml2_DIR is not set. It must be set to the directory
containing Libxml2Config.cmake in order to use Libxml2.
if I use find_package instead.
Any idea? What is this include thing by the way?
Alex.
- [Adonthell-devel] CMake & CVS, Kai Sterker, 2006/09/22
- Re: [Adonthell-devel] CMake & CVS, Alexandre Courbot, 2006/09/22
- Re: [Adonthell-devel] CMake & CVS, Joël Vennin, 2006/09/22
- Re: [Adonthell-devel] CMake & CVS, Joël Vennin, 2006/09/22
- Re: [Adonthell-devel] CMake & CVS, Kai Sterker, 2006/09/22
- Re: [Adonthell-devel] CMake & CVS,
Alexandre Courbot <=
- Re: [Adonthell-devel] CMake & CVS, Joël Vennin, 2006/09/24
- Re: [Adonthell-devel] CMake & CVS, Alexandre Courbot, 2006/09/24
- Re: [Adonthell-devel] CMake & CVS, Joël Vennin, 2006/09/24
- Re: [Adonthell-devel] CMake & CVS, Kai Sterker, 2006/09/26
- Re: [Adonthell-devel] CMake & CVS, Alexandre Courbot, 2006/09/26
- Re: [Adonthell-devel] CMake & CVS, Kai Sterker, 2006/09/26