Ubuntu16 ros导航编译时相关问题
标签:
findgazebogazebopcl_ros_tfroslvtkproj4 |
分类: Linux-ALL |
1.
http://s1/mw690/002ed2pGzy76GQP0Gcgd0&690ros导航编译时相关问题" TITLE="Ubuntu16 ros导航编译时相关问题" />
-- Using these message generators: gencpp;genlisp;genpy
-- Using these message generators: gencpp;genlisp;genpy
-- Found PkgConfig:
/usr/bin/pkg-config (found version
"0.29.1")
-- Checking for module
'libxml-2.0'
-- Found
libxml-2.0, version 2.9.3
CMake Error at CMakeLists.txt:26
(find_package):
解决方法:sudo apt-get
install libgazebo7 libgazebo7-dev
2.
CMake Warning (dev) at CMakeLists.txt:80
(add_dependencies):
This warning is for project developers. Use
-Wno-dev to suppress it.
-- Generating done
-- Build files have been written to:
/home/su/Workspace/ros_catkin_ws_full/build_isolated/pcl_ros
==> make -j1 -l1 in
'/home/su/Workspace/ros_catkin_ws_full/build_isolated/pcl_ros'
Scanning dependencies of target pointcloud_to_pcd
[ 1%] Building CXX object
CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
make[2]: *** No rule to make target
'/usr/lib/x86_64-linux-gnu/libproj.so', needed by
'/home/su/Workspace/ros_catkin_ws_full/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd'.
Stop.
CMakeFiles/Makefile2:67: recipe for target
'CMakeFiles/pointcloud_to_pcd.dir/all' failed
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error
2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package
'pcl_ros':
Reproduce this error by running:
==> cd
/home/su/Workspace/ros_catkin_ws_full/build_isolated/pcl_ros
&&
/home/su/Workspace/ros_catkin_ws_full/install_isolated/env.sh make
-j1 -l1
Command failed, exiting.
解决方法:sudo
apt-get install libproj-dev
3.
==> Processing catkin package: 'pcl_ros'
==> Building with env:
'/home/su/Workspace/ros_catkin_ws_full/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in
'/home/su/Workspace/ros_catkin_ws_full/build_isolated/pcl_ros'
==> make -j1 -l1 in
'/home/su/Workspace/ros_catkin_ws_full/build_isolated/pcl_ros'
[ 1%] Linking CXX executable
/home/su/Workspace/ros_catkin_ws_full/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd
/usr/bin/ld: cannot find
-lvtkproj4
collect2: error: ld returned 1 exit status
CMakeFiles/pointcloud_to_pcd.dir/build.make:443: recipe for
target
'/home/su/Workspace/ros_catkin_ws_full/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd'
failed
make[2]: ***
[/home/su/Workspace/ros_catkin_ws_full/devel_isolated/pcl_ros/lib/pcl_ros/pointcloud_to_pcd]
Error 1
CMakeFiles/Makefile2:67: recipe for target
'CMakeFiles/pointcloud_to_pcd.dir/all' failed
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error
2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package
'pcl_ros':
解决方法:sudo ln -s
/usr/lib/libvtkproj4.so.5.10
/usr/lib/libvtkproj4.so
后一篇:对监控系统的一些思考

加载中…