我一直在嘗試使用Kinect庫(http://nicolas.burrus.name/index.php/Research/KinectUseNestk)運行「開始使用教程」,但是我偶然發現一個錯誤。CMAKE找不到OpenNI
當我嘗試在命令行下面一行:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
我得到以下錯誤:
CMake Error at D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHan
dleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenNI (missing: OPENNI_LIBRARY OPENNI_INCLUDE_DIR)
Call Stack (most recent call first):
D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardAr
gs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
nestk/cmake/FindOpenNI.cmake:51 (find_package_handle_standard_args)
nestk/cmake/find_nestk_deps.cmake:77 (FIND_PACKAGE)
build/nestk/UseEmbeddedNestk.cmake:23 (INCLUDE)
nestk/CMakeLists.txt:67 (INCLUDE)
沒有人有任何想法,我怎麼也得解決這個問題?我已經安裝了OpenNI,它安裝在D:\ Program Files \ OpenNI上。