-
Notifications
You must be signed in to change notification settings - Fork 53
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
Installation errors #28
Comments
Did you follow the installation guide? http://r9y9.github.io/pylibfreenect2/installation.html#building-pylibfreenect2 |
Yes! |
umm
I think |
After compilation, a new folder freenect2 got created which has the config.h file. |
You have to point out the directory Maybe
|
OSError: /usr/local/include/libfreenect2/config.h: is not found Same error :( |
Please point to the directory that config.h exists before installation. |
There is no config.h before installation. As I said, its config.h.in. |
http://r9y9.github.io/pylibfreenect2/installation.html#building-pylibfreenect2
Following the step, you will have libfreenect2 installed, i.e. you should have config.h before |
As I said before, the config.h file is in a folder named freenect2 which is in /usr/local. I am not confusing pylibfreenect2 with libfreenect2 as I do not have the pylibfreeect2 folder on my system. Hence, no confusion. |
Could you please tell me the full path of the config.h you have? You mean |
/usr/local/freenect2/include/libfreenect2/config.h |
Can you try the following?
|
OSError: /usr/local/include/libfreenect2/config.h: is not found :( |
/usr/local/freenect2/lib
/usr/local/freenect2 Output: OSError: /usr/local/include/libfreenect2/config.h: is not found |
Doesn't it also work? |
Hey, libfreenect2_install_prefix = os.environ.get( "LIBFREENECT2_INSTALL_PREFIX", "/usr/local/") After these changes, the setup.py works and the multiframe_listener.py is also working. What I have understood is that it is not recognising LIBFREENECT2_INSTALL_PREFIX and hence it is taking the default, which is /usr/local/. |
Yes, that change should work. |
I guess so. |
While executing the pip command I get the following error:
OSError: /home/abc/libfreenect2/include/libfreenect2/config.h: is not found
This is because the file is named config.h.in and not config.h
Even if I change the filename, during installation it is not able to find the lib folder.
This is because the lib folder is inside the build folder.
Is there something I am missing for doing this installation ?
The text was updated successfully, but these errors were encountered: