Hello Murray, QuteCom build system use CMAKE_CURRENT_LIST_DIR. This variable has been introduced with cmake 2.8.3. It represents the directory of the listfile currently being processed.
Maybe you could replace CMAKE_CURRENT_LIST_DIR with correct path in cmake/CMakeLists.txt and cmake/Macros/CMakeLists.txt Laurent Le 5 oct. 2011 à 23:53, Murray Collingwood a écrit : > Hi Vadim > > Yep - I installed Mecurial, created the clone but I was trying to run cmake > from inside the 'build' subdirectory of this clone. > > So I created a new build directory and tried again: > > drwxr-xr-x 10 murray sudo 4096 Oct 5 23:31 qutecom-3.0 > drwxr-xr-x 12 murray sudo 4096 Jun 3 09:22 zlib-1.2.5 > murray@ngaio:~/Source$ mkdir build-qutecom-3.0 > murray@ngaio:~/Source$ cd build-qutecom-3.0 > murray@ngaio:~/Source/build-qutecom-3.0$ cmake ../qutecom-3.0 > -- 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 > CMake Error at cmake/Macros/CMakeLists.txt:3 (include): > include could not find load file: > > /GetMercurialRevision.cmake > Call Stack (most recent call first): > CMakeLists-QuteCom.txt:10 (include) > CMakeLists.txt:3 (include) > > > CMake Error at cmake/Macros/CMakeLists.txt:4 (include): > include could not find load file: > > /GetCurrentDateTime.cmake > Call Stack (most recent call first): > CMakeLists-QuteCom.txt:10 (include) > CMakeLists.txt:3 (include) > > > CMake Error at cmake/Macros/CMakeLists.txt:6 (include): > include could not find load file: > > /GlobalVariables.cmake > Call Stack (most recent call first): > CMakeLists-QuteCom.txt:10 (include) > CMakeLists.txt:3 (include) > > > The first error message (typically an important one) is looking for > GetMercurialVersion.cmake so I did a quick browse through the cmakelists and > found this: > cmake_minimum_required(VERSION 2.8.3) > > Then checked the cmake version I have installed: > root@ngaio:/home/murray/Source/qutecom-3.0/build# cmake --version > cmake version 2.8.2 > > > Perhaps this is the problem??? > Although 2.8.2 appears to be the latest stable for Debian Squeeze??? > Is the cmake utility version really that important??? > > Cheers > Murray > > > On 6 October 2011 00:17, Vadim Lebedev <[email protected]> wrote: > Hi Murray, > > I usuallu build from cloned repository and to clone it i install merqurial > then i do: > > mkdir work > cd work > hg clone http://hg.qutecom.org/qutecom-3.0 > mkdir build-qutecom-3.0 > cd build-qutecom-3.0 > cmake ../qutecom-3.0 > make -j4 > > > Thanks > Vadim > > > > > > > > -- > Murray Collingwood > Focus Computing > ph +61 7 3175 0575 > mob +61 415 24 26 24 > http://www.focus-computing.com.au > _______________________________________________ > QuteCom-dev mailing list > [email protected] > http://lists.qutecom.org/mailman/listinfo/qutecom-dev
_______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
