我在 MacOS X Yosemite (10.10.5) 上工作。我正在尝试在 Mac OS X 上安装 libfreenect2
当我从libfreenect2的构建目录中执行“cmake ..”时。我按照安装页面中给出的所有说明进行操作。当我从构建目录执行命令“cmake ..”时,我收到以下错误消息:
-- Checking for module 'libusb-1.0'
-- No package 'libusb-1.0' found
CMake Error at /Users/Yvanou/anaconda/share/cmake-3.8/Modules/FindPkgConfig.cmake:416 (message):
A required package was not found
然而,我使用 Homebrew 正确安装了 libusb 1.6.4。
这是完整的日志:
Yvanou-MacBookPro2015:build Yvanou$ cmake ..
-- using tinythread as threading library
-- Checking for module 'libusb-1.0'
-- No package 'libusb-1.0' found
CMake Error at /Users/Yvanou/anaconda/share/cmake-3.8/Modules/FindPkgConfig.cmake:416 (message):
A required package was not found
Call Stack (most recent call first):
/Users/Yvanou/anaconda/share/cmake-3.8/Modules/FindPkgConfig.cmake:589 (_pkg_check_modules_internal)
cmake_modules/FindLibUSB.cmake:21 (PKG_CHECK_MODULES)
CMakeLists.txt:93 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/Users/Yvanou/Documents/libfreenect2/build/CMakeFiles/CMakeOutput.log".
此外,我还使用conda作为包管理器
有什么想法可以帮助我吗?
非常感谢您的宝贵时间和宝贵的帮助!