Robotics StackExchange | Archived questions

CMake PCL ROS error

Hi,

I'm triying compile PCL and ROS in ubuntu. I have installed PCL in /usr/include and /usr/lib . I try compile with cmake writing:

find_package(PCL 1.6 REQUIRED)

and in target link I add:

${PCL_LIBRARIES}

However, Cmake tries find PCL Libraries in:

/opt/ros/groovy/lib

and It shows next error:

No rule to make target /opt/ros/groovy/lib/libpcl_common.so

how I can change the search path?

Thanks

Asked by aps40 on 2013-04-30 03:08:00 UTC

Comments

Did you ever find a solution to this?

Asked by Dave Coleman on 2015-04-30 14:54:51 UTC

which ROS version are you using ? have you tried to add : include_directories(${PCL_INCLUDE_DIRS}) ?

Asked by Captcha on 2016-04-05 05:23:32 UTC

Answers