Skip to content

Commit 398107c

Browse files
committed
Merge branch 'indigo' of github.com:srv/srv_tools into indigo
2 parents 3a36674 + e093fd2 commit 398107c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pointcloud_tools/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ project(pointcloud_tools)
33

44
find_package(catkin REQUIRED COMPONENTS roscpp pcl_ros std_msgs sensor_msgs nav_msgs)
55
find_package(PCL REQUIRED)
6+
find_package(VTK REQUIRED)
67

78
find_package(Boost REQUIRED COMPONENTS signals filesystem system)
89
include_directories(${Boost_INCLUDE_DIRS})
910

1011
catkin_package()
1112

12-
include_directories(/usr/include/vtk-5.8 ${catkin_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
13+
include_directories(${catkin_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${VTK_INCLUDE_DIRS})
1314

1415
add_executable(pointcloud_mapper src/pointcloud_mapper.cpp)
1516
add_executable(pointcloud_mapper_for_slam src/pointcloud_mapper_for_slam.cpp)
@@ -18,7 +19,7 @@ add_executable(pcd_publisher src/pcd_publisher.cpp)
1819
add_executable(pointcloud_viewer src/pointcloud_viewer.cpp)
1920
add_executable(pointcloud_to_webgl src/pointcloud_to_webgl.cpp)
2021

21-
target_link_libraries(pointcloud_viewer ${Boost_LIBRARIES} ${PCL_LIBRARIES} ${catkin_LIBRARIES} libvtkCommon.so libvtkFiltering.so libvtkRendering.so)
22+
target_link_libraries(pointcloud_viewer ${Boost_LIBRARIES} ${PCL_LIBRARIES} ${catkin_LIBRARIES} ${VTK_LIBRARIES})
2223
target_link_libraries(pcd_publisher ${PCL_LIBRARIES} ${catkin_LIBRARIES})
2324
target_link_libraries(pointcloud_mapper ${PCL_LIBRARIES} ${catkin_LIBRARIES})
2425
target_link_libraries(pointcloud_mapper_for_slam ${PCL_LIBRARIES} ${catkin_LIBRARIES})

pointcloud_tools/package.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
<build_depend>std_msgs</build_depend>
1818
<build_depend>sensor_msgs</build_depend>
1919
<build_depend>nav_msgs</build_depend>
20+
<build_depend>libvtk</build_depend>
2021
<run_depend>roscpp</run_depend>
2122
<run_depend>pcl_ros</run_depend>
2223
<run_depend>std_msgs</run_depend>
2324
<run_depend>sensor_msgs</run_depend>
2425
<run_depend>nav_msgs</run_depend>
26+
<run_depend>libvtk</run_depend>
2527

2628
<export>
2729

0 commit comments

Comments
 (0)