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 unable to find consistent python 3 libraries #616

Closed
rbiju opened this issue May 10, 2020 · 1 comment
Closed

Cmake unable to find consistent python 3 libraries #616

rbiju opened this issue May 10, 2020 · 1 comment

Comments

@rbiju
Copy link

rbiju commented May 10, 2020

When attempting to build the python wrapper, I encountered the following error. Any suggestions? I am running macOS Catalina 10.15.4

ray@Rays-MBP build % cmake .. -DBUILD_PYTHON3=ON
-- Operating system is Apple MacOS X
-- Got System Processor x86_64
-- libfreenect will be installed to /usr/local
-- Headers will be installed to /usr/local/include/libfreenect
-- Libraries will be installed to /usr/local/lib
-- Found libusb-1.0:
-- - Includes: /usr/local/include/libusb-1.0
-- - Libraries: /usr/local/lib/libusb-1.0.dylib
CMake Error at wrappers/python/CMakeLists.txt:44 (message):
Unable to find consistent Python 3 libraries. Python interpreter is 3.7,
but libraries are 2.7.16.
Call Stack (most recent call first):
wrappers/python/CMakeLists.txt:97 (Python_BUILD_EXTENSION)

-- Configuring incomplete, errors occurred!
See also "/Users/ray/Documents/Personal_Projects/Kinect_Helicopter/libfreenect/build/CMakeFiles/CMakeOutput.log".
See also "/Users/ray/Documents/Personal_Projects/Kinect_Helicopter/libfreenect/build/CMakeFiles/CMakeError.log".
ray@Rays-MBP build %

@piedar
Copy link
Contributor

piedar commented May 10, 2020

Hopefully fixed by #610.

@rbiju rbiju closed this as completed Jul 5, 2020
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

2 participants