代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(PCL-Learning)
find_package(PCL 1.7 REQUIRED)
# include_directories(${PCL_INCLUDE_DIRS})
# link_directories(${PCL_LIBRARY_DIRS})
# add_definitions(${PCL_DEFINITIONS})
find_package(PCL REQUIRED)
if (PCL_FOUND)
message(WARNING "pcl has been found, please add it:")
message(WARNING "include_directories(\${PCL_INCLUDE_DIRS})")
message(WARNING "link_directories(\${PCL_LIBRARY_DIRS})")
message(WARNING "add_definitions(\${PCL_DEFINITIONS})")
# message(STATUS "found PCL ${PCL_VERSION} Library ${PCL_LIBRARIES}")
endif ()
# 添加Eigen
if (DEFINED ENV{EIGEN_ROOT})
set(EIGEN_INCLUDE_DIRS $ENV{EIGEN_ROOT})
else()
message(FATAL_ERROR "Eigen has not been found")
endif()
option(BUILD_CURRENT_DEMO FALSE)
if (BUILD_CURRENT_DEMO)
add_subdirectory("PCL-Rotation")
else()
add_subdirectory("pcl-demo")
add_subdirectory("conditional_euclidean_clustering")
endif()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。