openni_camera - XnOS.h: No such file or directory
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?