winros find_package(catkin) failure

asked 2014-04-03 22:03:07 -0600

bnm-rc gravatar image

updated 2014-04-03 22:59:34 -0600

when I try to compile an overlay workspace with winros_make I get the following error:

loading initial cache file C:\work\overlay\config.cmake
CMake Error at CMakeLists.txt:47 (message):
  find_package(catkin) failed.  catkin was neither found in the workspace nor
  in the CMAKE_PREFIX_PATH.  One reason may be that no ROS was
  sourced before.

I don't know what I should do, because I previously called the in C:\work\ws\devel which is the directory I have my self compiled windros SDK.

Can someone please help me?

I also tried to add the following lines to both config.cmake and CMakeLists.txt in the root and src folder, respectively:

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "C:/work/ws/src/catkin/cmake")
set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};C:/work/ws/src/catkin/cmake")
edit retag flag offensive close merge delete


It maybe help you: Please read its comments.

Yeongil Choe gravatar image Yeongil Choe  ( 2014-04-08 22:13:57 -0600 )edit