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

OPENNI2+NITE2+libfreenect2 #714

Closed
chengzijiazu opened this issue Aug 30, 2016 · 4 comments
Closed

OPENNI2+NITE2+libfreenect2 #714

chengzijiazu opened this issue Aug 30, 2016 · 4 comments

Comments

@chengzijiazu
Copy link

Could anyone give me a example code about the openni2+nite2+libfreenect2.
I am trying to perform the openni2 + nite2 + libfreenect2,but it make error with losting the openni2.dll and nite2.dll.

That is the big problem for me .I could not solve it after I had worked it for several days.

Best regard,
Songbin

@chengzijiazu
Copy link
Author

It base on win8.1+vs2015.

@chengzijiazu
Copy link
Author

When I run the NiViewer.exe it can work well.

@orgicus
Copy link

orgicus commented Aug 30, 2016

If you have nite2, can you try to :

  1. copy libfreenect2-openni2.0.dll from libfreenect2\build\lib to YOUR_NiTE_FOLDER\Samples\Bin\OpenNI2\Drivers\
  2. Run the SimpleUserTracker sample ?

Additionally you can tweak NiTE-MacOSX-x64-2.2\Samples\Bin\OpenNI.ini to enable verbose logging and see what's going on (what dll files are expected to be loaded and from what location):

[Log]
; 0 - Verbose; 1 - Info; 2 - Warning; 3 - Error. Default - None
Verbosity=0
LogToConsole=1
LogToFile=1

[Device]
;Override=""

[Drivers]
; Location of the drivers specified by a relative path based on OpenNI's shared library or an absolute path.
; Path separator "/" can be used to be portable for any platforms.
; Default - OpenNI2/Drivers
;Repository=OpenNI2/Drivers

I can't test on Windows at the moment, but I have recently had issues using NiTE with libfreenect2 on OSX.

@chengzijiazu
Copy link
Author

Thank you! @orgicus I copy the Redist files to the build solution folder. And it work well!

@xlz xlz closed this as completed Oct 9, 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