library not found for -lpcl_io [closed]

asked 2015-07-25 18:12:29 -0600

zoe gravatar image

updated 2015-09-08 02:09:15 -0600

gvdhoorn gravatar image

Installing ROS on OS X Yosemite, when executing command ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release I get the error, ld: library not found for -lpcl_io. How can I resolve this?

[  0%] Built target tf2_msgs_generate_messages_py
[  0%] Built target nodelet_topic_tools_gencfg
[  0%] Built target topic_tools_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target topic_tools_generate_messages_lisp
[  0%] Built target topic_tools_generate_messages_py
[  0%] Built target sensor_msgs_generate_messages_lisp
[  0%] Built target sensor_msgs_generate_messages_cpp
[  0%] Built target bond_generate_messages_cpp
[  0%] Built target nodelet_generate_messages_cpp
[  0%] Built target nodelet_generate_messages_py
[  0%] Built target nodelet_generate_messages_lisp
[  0%] Built target pcl_msgs_generate_messages_lisp
[  0%] Built target actionlib_generate_messages_cpp
[  0%] Built target dynamic_reconfigure_generate_messages_lisp
[  0%] Built target dynamic_reconfigure_generate_messages_cpp
[  0%] Built target dynamic_reconfigure_generate_messages_py
[  0%] Built target dynamic_reconfigure_gencfg
[  0%] Built target pcl_msgs_generate_messages_py
[  0%] Built target tf_generate_messages_py
[  0%] Built target tf_generate_messages_cpp
[  0%] Built target tf_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_lisp
[  0%] Built target pcl_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target sensor_msgs_generate_messages_py
[  0%] Built target bond_generate_messages_lisp
[  0%] Built target bond_generate_messages_py
[  0%] Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_py
[  0%] Built target rosgraph_msgs_generate_messages_lisp
[  0%] Built target rosgraph_msgs_generate_messages_py
[  0%] Built target tf2_msgs_generate_messages_cpp
[  0%] Built target actionlib_generate_messages_lisp
[  0%] Built target actionlib_generate_messages_py
[  0%] Built target tf2_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target actionlib_msgs_generate_messages_lisp
[ 20%] Built target pcl_ros_gencfg
Scanning dependencies of target pointcloud_to_pcd
[ 22%] Linking CXX executable /Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/convert_pcd_to_image
[ 23%] Linking CXX executable /Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/convert_pointcloud_to_image
[ 25%] Linking CXX executable /Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/pcd_to_pointcloud
ld: library not found for -lpcl_io
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/convert_pcd_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
[ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
[ 28%] Linking CXX executable /Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd] Error 1
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-04-15 03:05:07.512356

Comments

I have the same problem. When I add "-L/usr/local/lib" in the link.txt it fixes it but this is not permanent as the changes are blown away next time I build apparently.

emrainey gravatar image emrainey  ( 2015-09-07 18:53:44 -0600 )edit