c++ - Qt crashes when I try to use OpenNI2 library -


i'm trying use openni library in qt c++ application. when call openni library , compile , run "the program has unexpectedly finished." instantly.. no error messages no nothing..

what know:

  • it's openni library causes this.
  • the include path , lib path in .pro file set correctly.
  • i'm using opencv , nite can access expected.

thank in advance :)

update:

i solved problem, wasn't directly related openni library. had environment variables pointing 64bit library when building application 32bit compiler.

thank help.

maybe openni can not open device.

try copy folder openni2 c:\program files (x86)\openni2\redist , paste release/debug folder.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -