File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ project(pointcloud_tools)
3
3
4
4
find_package (catkin REQUIRED COMPONENTS roscpp pcl_ros std_msgs sensor_msgs nav_msgs )
5
5
find_package (PCL REQUIRED )
6
+ find_package (VTK REQUIRED )
6
7
7
8
find_package (Boost REQUIRED COMPONENTS signals filesystem system )
8
9
include_directories (${Boost_INCLUDE_DIRS} )
9
10
10
11
catkin_package ()
11
12
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 } )
13
14
14
15
add_executable (pointcloud_mapper src/pointcloud_mapper.cpp )
15
16
add_executable (pointcloud_mapper_for_slam src/pointcloud_mapper_for_slam.cpp )
@@ -18,7 +19,7 @@ add_executable(pcd_publisher src/pcd_publisher.cpp)
18
19
add_executable (pointcloud_viewer src/pointcloud_viewer.cpp )
19
20
add_executable (pointcloud_to_webgl src/pointcloud_to_webgl.cpp )
20
21
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} )
22
23
target_link_libraries (pcd_publisher ${PCL_LIBRARIES} ${catkin_LIBRARIES} )
23
24
target_link_libraries (pointcloud_mapper ${PCL_LIBRARIES} ${catkin_LIBRARIES} )
24
25
target_link_libraries (pointcloud_mapper_for_slam ${PCL_LIBRARIES} ${catkin_LIBRARIES} )
Original file line number Diff line number Diff line change 17
17
<build_depend >std_msgs</build_depend >
18
18
<build_depend >sensor_msgs</build_depend >
19
19
<build_depend >nav_msgs</build_depend >
20
+ <build_depend >libvtk</build_depend >
20
21
<run_depend >roscpp</run_depend >
21
22
<run_depend >pcl_ros</run_depend >
22
23
<run_depend >std_msgs</run_depend >
23
24
<run_depend >sensor_msgs</run_depend >
24
25
<run_depend >nav_msgs</run_depend >
26
+ <run_depend >libvtk</run_depend >
25
27
26
28
<export >
27
29
You can’t perform that action at this time.
0 commit comments