winros find_package(catkin) failure
Hi,
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 setup.sh was
sourced before.
I don't know what I should do, because I previously call
ed the setup.sh in C:\work\ws\devel which is the directory I have my self compiled windros SDK.
Can someone please help me?
UPDATE1
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")
It maybe help you: http://answers.ros.org/question/141301/winros_make-fails. Please read its comments.