[Rock-dev] Problem building /tools/datalogger

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Aug 22 16:12:03 CEST 2011


On 08/22/2011 03:33 PM, Stefan Haase wrote:
> ----------------------------------
> Mon Aug 22 14:20:28 +0100 2011: running
>      cmake -DCMAKE_INSTALL_PREFIX=/opt/software/install
> -DCMAKE_MODULE_PATH= -DCMAKE_BUILD_TYPE=Debug /opt/software/tools/datalogger
>
> -- 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 CMakeLists.txt:4 (include):
>    include could not find load file:
>
>      /Rock.cmake
>
>
> CMake Error at CMakeLists.txt:5 (rock_init):
>    Unknown CMake command "rock_init".

The include() statement in CMakeLists.txt relies on the 
ROCK_CMAKE_MACROS environment variable being properly set. Which 
autoproj's rock configuration should do for you.

Can you check if it is set in env.sh. If it is not, run autoproj envsh 
to regenerate the file, and check again.

In last resort, set it manually to /path/to/base/types/cmake
before calling autoproj.
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list