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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -