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
Post a Comment