ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

openni_camera - XnOS.h: No such file or directory

asked 2013-10-09 12:27:39 -0500

ZsurzsaLaszlo gravatar image

updated 2016-10-24 09:03:56 -0500

ngrennan gravatar image

This is my CMakeLists.txt:

# set variable name that we will use in continue ...
set(the_target mini_tof_gui)

# Boost, Eigen, VTK liking
find_package(Boost COMPONENTS system filesystem REQUIRED)
find_package(Eigen REQUIRED) 
find_package(VTK REQUIRED)

# VTK, Eigen include
INCLUDE(${VTK_USE_FILE})
include_directories(${VTK_INCLUDE_DIRS})
include_directories(${Eigen_INCLUDE_DIRS}) 
include_directories(${EIGEN_INCLUDE_DIRS}) 
include_directories(${OPENNI_INCLUDE_DIRS})   

##############################################################################
# Binaries
##############################################################################

rosbuild_add_executable(${the_target} ${QT_SOURCES} ${QT_RESOURCES_CPP} ${QT_FORMS_HPP} ${QT_MOC_HPP})
target_link_libraries(${the_target} ${OPENNI_LIBRARIES})  
target_link_libraries(${the_target} ${QT_LIBRARIES})
target_link_libraries(${the_target} ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ) 
target_link_libraries(${the_target} tof_object_segm)
target_link_libraries(${the_target} vtkCommon vtkFiltering vtkRendering)
target_link_libraries(${the_target} pcl_features pcl_io pcl_2d pcl_people pcl_kdtree pcl_registration pcl_recognition pcl_tracking pcl_stereo pcl_filters pcl_common pcl_visualization pcl_octree pcl_sample_consensus pcl_keypoints pcl_ml pcl_segmentation pcl_surface pcl_io_ply pcl_search pcl_gpu_kinfu)

I'm trying to connect kinfu headers to my project. What can be the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-30 16:30:11 -0500

try to locate the XnOS.h file by using

sudo updatedb locate XnOS.h

and then $sudo gedit the file to include the absolute directory of XnOS.h

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-10-09 12:27:39 -0500

Seen: 1,688 times

Last updated: Oct 30 '14