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

oxfNI2 on Windows Code::Blocks #6

Open
brunoimbrizi opened this issue Mar 9, 2014 · 1 comment
Open

oxfNI2 on Windows Code::Blocks #6

brunoimbrizi opened this issue Mar 9, 2014 · 1 comment

Comments

@brunoimbrizi
Copy link

I am trying to use ofxNI2 on Windows, but I haven't managed to compile the example yet. I started asking and documenting my progress on the openFrameworks forum:
http://forum.openframeworks.cc/t/openni-with-ofxni2-and-code-blocks/14896

The current errors are probably because a required library is not linked:

obj\Release\addons\ofxNI2\src\ofxNI2.o:ofxNI2.cpp|| undefined reference to `_imp__oniFrameAddRef'
obj\Release\addons\ofxNI2\src\ofxNI2.o:ofxNI2.cpp|| undefined reference to `_imp__oniFrameRelease'
...
More errors follow but not being shown.

I have added C:\Program Files\OpenNI2\Lib\OpenNI2.lib to the Build options > Linker settings, but the error persisted.

Any suggestions?

@brunoimbrizi
Copy link
Author

I was using x64 libraries. Changed them to x86 and it worked. I am working on this fork https://github.com/brunoimbrizi/ofxNI2. I'll tidy things up and send a pull request once things are working fine on Windows.

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

1 participant