ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can find some related questions here http://answers.ros.org/question/110511/class_loader-poco-error/ and here http://stackoverflow.com/questions/16971349/cmake-cannot-find-custom-module

Following their advice and ahendrix answer I did the following on my Mac and it worked 1) Downloaded https://github.com/ros/class_loader/blob/indigo-devel/cmake/PocoConfig.cmake to somewhere on your disk 2) Added the following lines to CMakeLists.txt of your project

set(Poco_DIR _path_) # replace _path_ with a path to PocoConfig.cmake that you downloaded before

find_package(Poco REQUIRED COMPONENTS Foundation Net Netd XML XMLd) # add other components here

catkin_package(DEPENDS Poco)

include_directories(${Poco_INCLUDE_DIRS})

target_link_libraries(node_name ${Poco_LIBRARIES}) #replace node_name with the name of your project/node