Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake mac os None of the required 'hidapi-libusb;hidapi' found #31

Closed
atrbx5 opened this issue Nov 25, 2016 · 4 comments
Closed

cmake mac os None of the required 'hidapi-libusb;hidapi' found #31

atrbx5 opened this issue Nov 25, 2016 · 4 comments

Comments

@atrbx5
Copy link

atrbx5 commented Nov 25, 2016

Почитал закрытый таск по mac os, попробовал:
brew install libusb
brew install hidapi
осталась ошибка

$ cmake ..
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Checking for one of the modules 'hidapi-libusb;hidapi'
CMake Error at /usr/local/Cellar/cmake/3.6.3/share/cmake/Modules/FindPkgConfig.cmake:646 (message):
None of the required 'hidapi-libusb;hidapi' found
Call Stack (most recent call first):
libco2mon/CMakeLists.txt:7 (pkg_search_module)

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Checking for one of the modules 'hidapi-libusb;hidapi'
CMake Error at /usr/local/Cellar/cmake/3.6.3/share/cmake/Modules/FindPkgConfig.cmake:646 (message):
None of the required 'hidapi-libusb;hidapi' found
Call Stack (most recent call first):
co2mond/CMakeLists.txt:5 (pkg_search_module)

@dmage
Copy link
Owner

dmage commented Nov 25, 2016

Похоже не хватает pkg-config

@Vascom
Copy link
Contributor

Vascom commented Nov 25, 2016

Ага, уже не в первый раз :)

@atrbx5
Copy link
Author

atrbx5 commented Nov 25, 2016

о норм, добавте что-ли в описание, тем более, что не первый раз...

brew install libusb
brew install hidapi
brew install pkg-config

dmage pushed a commit that referenced this issue Dec 1, 2016
@dmage
Copy link
Owner

dmage commented Dec 1, 2016

Добавил.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants