3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
108 stars 71 forks source link

No Depth Camera Library Found or Loaded #146

Closed aashwitashah closed 6 years ago

aashwitashah commented 6 years ago

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