Build OSVR Tracker viewer Faild, CMake Error : Could NOT find OpenSceneGraph

118 views Asked by At

I compiled the source code of osvr_tracker_viewer with cmake. I set entries like follow:

-DBOOST_ROOT="C:/local/boost_1_62_0" ^ -DBOOST_LIBRARYDIR="C:/local/boost_1_62_0/lib64-msvc-12.0" ^ -Dosvr_DIR="d:/Project/OSVR-Build/OSVR/OSVR-Core/build" ^

and show error like follow:

CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENTHREADS_FOUND OSGDB_FOUND OSGVIEWER_FOUND OSGGA_FOUND OSGUTIL_FOUND
OSG_FOUND)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenSceneGraph.cmake:223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:11 (find_package)
0

There are 0 answers