cannot find -lOpenNI2Orbbec. ROS Orbbec Astra camera
I'm trying to interface my Orbbec Astra camera using ROS (c++).
I figured out I need to use the custom OpenNI2 by Orbbec. I built it according to the instructions.
Then I tried to build ros_astra_camera.
catkin_make --pkg astra_camera
gives me /usr/bin/ld: cannot find -lOpenNI2Orbbec
My CMakeLists.txt
:
cmake_minimum_required(VERSION 2.8.3)
project(camera)
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
message_generation
image_transport
cv_bridge
)
find_package( OpenCV REQUIRED )
add_message_files(
FILES
TrackedPosition.msg
)
generate_messages(
DEPENDENCIES
std_msgs
)
catkin_package(
CATKIN_DEPENDS roscpp std_msgs message_runtime
)
include_directories(
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
add_executable(tracker src/tracker.cpp)
target_link_libraries(tracker ${OpenCV_LIBRARIES} ${catkin_LIBRARIES})
add_dependencies(tracker camera_generate_messages_cpp)
My package.xml
:
<?xml version="1.0"?>
<package>
<name>camera</name>
<version>0.0.0</version>
<description>The camera package</description>
<maintainer email="jeff@todo.todo">jeff</maintainer>
<license>TODO</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>message_generation</build_depend>
<build_depend>image_transport</build_depend>
<build_depend>cv_bridge</build_depend>
<run_depend>roscpp</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>message_runtime</run_depend>
<run_depend>image_transport</run_depend>
<run_depend>cv_image</run_depend>
</package>
Any help is very much appreciated.
Please let me know if you need any additional information.