ubuntu PCL的使用

cmake_minimum_required(VERSION 2.8)
project(MY_GRAND_PROJECT)
find_package(PCL 1.3 REQUIRED COMPONENTS common io)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(pcl_demo demp.cpp)

target_link_libraries(pcl_demo ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})
#target_link_libraries(pcl_demo ${PCL_LIBS})

  

posted @ 2018-12-16 17:24  采男孩的小蘑菇  阅读(823)  评论(0编辑  收藏  举报