[CMake] cmake 2.8.8: CMake Error: Parse error in cache file

Víctor MV v.mayoralv at gmail.com
Wed Jul 3 09:42:03 EDT 2013


Using Angstrom and running cmake 2.8.8 version we're encountering an error
when parsing the CMakeCache.txt.

####
#### Running command: "cmake /home/root/catkin_ws/src
-DCATKIN_DEVEL_PREFIX=/home/root/catkin_ws/devel
-DCMAKE_INSTALL_PREFIX=/home/root/catkin_ws/install" in
"/home/root/catkin_ws/build"
####
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- 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
-- Using CATKIN_DEVEL_PREFIX: /home/root/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /usr
-- This workspace overlays: /usr
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Found PY_em: /usr/lib/python2.7/site-packages/em.pyo
CMake Warning at /usr/share/catkin/cmake/test/gtest.cmake:99 (message):
  gtest not found, C++ tests can not be built.  You can run 'svn checkout
  http://googletest.googlecode.com/svn/tags/release-1.6.0 gtest' in the root
  of your workspace
Call Stack (most recent call first):
  /usr/share/catkin/cmake/all.cmake:131 (include)
  /usr/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:41 (find_package)


-- Using CATKIN_TEST_RESULTS_DIR: /home/root/catkin_ws/build/test_results
-- catkin 0.5.64
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/root/catkin_ws/build
####
#### Running command: "make -j1 -l1" in "/home/root/catkin_ws/build"
####
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: "USAGE:
LSB_RELEASE [OPTIONS]
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: OPTIONS:
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -H, --HELP
        SHOW THIS HELP MESSAGE AND EXIT
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -V,
--VERSION      SHOW LSB MODULES THIS SYSTEM SUPPORTS
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -I, --ID
        SHOW DISTRIBUTOR ID
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -D,
--DESCRIPTION  SHOW DESCRIPTION OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -R,
--RELEASE      SHOW RELEASE NUMBER OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -C,
--CODENAME     SHOW CODE NAME OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -A, --ALL
        SHOW ALL OF THE ABOVE INFORMATION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: "USAGE:
LSB_RELEASE [OPTIONS]
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: OPTIONS:
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -H, --HELP
        SHOW THIS HELP MESSAGE AND EXIT
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -V,
--VERSION      SHOW LSB MODULES THIS SYSTEM SUPPORTS
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -I, --ID
        SHOW DISTRIBUTOR ID
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -D,
--DESCRIPTION  SHOW DESCRIPTION OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -R,
--RELEASE      SHOW RELEASE NUMBER OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -C,
--CODENAME     SHOW CODE NAME OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -A, --ALL
        SHOW ALL OF THE ABOVE INFORMATION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -S,
--SHORT        SHOW REQUESTED INFORMATION IN SHORT FORMAT_USAGE:
LSB_RELEASE [OPTIONS]
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: OPTIONS:
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -H, --HELP
        SHOW THIS HELP MESSAGE AND EXIT
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -V,
--VERSION      SHOW LSB MODULES THIS SYSTEM SUPPORTS
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -I, --ID
        SHOW DISTRIBUTOR ID
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -D,
--DESCRIPTION  SHOW DESCRIPTION OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -R,
--RELEASE      SHOW RELEASE NUMBER OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -C,
--CODENAME     SHOW CODE NAME OF THIS DISTRIBUTION
CMake Error: Parse error in cache file
/home/root/catkin_ws/build/CMakeCache.txt. Offending entry: -A, --ALL
        SHOW ALL OF THE ABOVE INFORMATION
-- Using CATKIN_DEVEL_PREFIX: /home/root/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /usr
-- This workspace overlays: /usr
CMake Warning at /usr/share/catkin/cmake/test/gtest.cmake:99 (message):
  gtest not found, C++ tests can not be built.  You can run 'svn checkout
  http://googletest.googlecode.com/svn/tags/release-1.6.0 gtest' in the root
  of your workspace
Call Stack (most recent call first):
  /usr/share/catkin/cmake/all.cmake:131 (include)
  /usr/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:41 (find_package)


Please see https://github.com/bmwcarit/meta-ros/issues/99 for more
information.

Has anybody seen something like this before. Could it be related to the
2.8.8 version?

Thanks in advance,

Víctor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130703/36b93312/attachment.htm>


More information about the CMake mailing list