3dtof/voxelsdk

No Depth Camera Library Found or Loaded

Closed this issue · 0 comments

I am trying to detect OPT8320 camera using Voxel SDK 0.6.10. I am successfully able to compile sample code under release version. When I run it I am getting error "No depth camera library found or loaded". Below is my CMake file content. My code is attached herewith.

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
PROJECT(DepthCameraCapture)

IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
ADD_DEFINITIONS(-std=c++11)
ENDIF()

FIND_PACKAGE(Voxel 0.6.10 REQUIRED)

ADD_EXECUTABLE(DepthCapture DepthCapture.cpp)

TARGET_INCLUDE_DIRECTORIES(DepthCapture PUBLIC ${VOXEL_INCLUDE_DIRS})

TARGET_LINK_LIBRARIES(DepthCapture ${VOXEL_LIBRARIES})
DepthCapture.txt