Using Cloudcompare in ROS-qt
i'm using The Robot Operating System (ROS) with Qt creator the basic testing are good. And now I want to join cloudcompare library into my project but there's something wrong...
this is my CMakeLists codes about cloudcompare enter image description here
When I #include
There is my CmakeList file code
cmake_minimum_required(VERSION 2.8.3)
project(testpackage)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roscpp
rviz
std_msgs
sensor_msgs
cv_bridge
pcl_conversions
pcl_ros
)
find_package(Qt5 COMPONENTS Core Gui Widgets OpenGL REQUIRED)
message("qt5 is used")
find_package(Qt5OpenGL REQUIRED)
find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${Qt5Widgets_INCLUDE_DIRS})
include_directories(${Qt5Core_INCLUDE_DIRS})
include_directories(${Qt5OpenGL_INCLUDE_DIRS})
QT5_ADD_RESOURCES(QT_RESOURCES_CPP ${QT_RESOURCES})
QT5_WRAP_UI(QT_FORMS_HPP ${QT_FORMS})
QT5_WRAP_CPP(QT_MOC_HPP ${QT_MOC})
catkin_package(
LIBRARIES testpackage
CATKIN_DEPENDS roscpp
)
include_directories(
# include
${catkin_INCLUDE_DIRS}
)
include_directories(/home/kasper/trunk/CC/include)
include_directories(/home/kasper/trunk/libs/qCC_io)
include_directories(/home/kasper/trunk/libs/qCC_db)
link_directories(/home/kasper/trunk/build/CC)
link_directories(/home/kasper/trunk/build/libs/qCC_io)
link_directories(/home/kasper/trunk/build/libs/qCC_db)
add_executable(TestNode src/TestNode.cpp)
install(TARGETS TestNode
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
Asked by kasper on 2019-05-20 22:53:11 UTC
Comments
Do not post screenshots of code -- there is no need, it's all text. See the Support Guidelines.
If you must post screenshots: please attach them to this question, instead of linking to them. I've given you sufficient karma.
Asked by gvdhoorn on 2019-05-21 03:03:23 UTC