Skip to content

Cant install libfreenect2 on mac #310

@spurra

Description

@spurra

Hi,
I've followed the installation instruction here https://github.com/OpenKinect/libfreenect2#mac-osx. The step to build the protonect executable with cmake fails with following error:

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at /usr/local/Cellar/cmake/3.2.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find LibUSB (missing: LibUSB_LIBRARIES LibUSB_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.2.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindLibUSB.cmake:42 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:42 (FIND_PACKAGE)

Are there some other things I should have installed beforehand which the guide does not mention?

Edit: So I checked a little what install_mac.sh does, and it invokes install_libusb.sh. However, that script tries to invoke bootstrap.sh which does not exist in the folder. Is there something missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions