OpenCV 2.4.6.1 OpenNI 2.2 missing OPENNI_PRIME_SENSOR_MODULE_BIN_DIR
Hi, all:
Environment Ubuntu 13.04 OpenCV 2.4.6.1 OpenNI 2.2
Always got the warning while building OpenCV 2.4.6.1, with the following warning messages
WARNING, OpenNI library directory (set by OPENNI_LIB_DIR variable) is not found or does not have OpenNI libraries.
WARNING, OpenNI include directory (set by OPENNI_INCLUDE_DIR variable) is not found or does not have OpenNI include files.
WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries.
As said here http://community.openni.org/openni/topics/compiling_opencv_with_openni_2, OpenCV now only implemented a wrapper for OpenNI 1.X, but not OpenNI 2.2 ...
How to make OpenCV 2.4.6.1 be able to built with OpenNI 2.2?
Cheers Pei
Install OpenNI2.2 on your system, and make sure that is the only version installed. Run CMAKE and at the specified paths, you make sure that the OpenNI2.2 paths are selected. Then rebuilt OpenCV with that information.
Hi, Steven: I've tried what you said already. My OpenNI 2.2 is now put under /opt/OpenNI-Linux-x86-2.2,
> :/opt/OpenNI-Linux-x86-2.2$ ls > Documentation install.sh NOTICE primesense-usb.rules Samples > Include LICENSE OpenNIDevEnvironment Redist Tools
and, I did modify OPENNI_INCLUDES and OPENNI_LIBRARY respectively to /opt/OpenNI-Linux-x86-2.2/Include and /opt/OpenNI-Linux-x86-2.2/Redist and made sure everything I could do already. However, problem continues... Also, still, how to set OPENNI_PRIME_SENSOR_MODULE and OPENNI_PRIME_SENSOR_MODULE_BIN for OpenNI 2.2????
Excuse me but my openni knowledge is pretty small. Guess you will have to wait for extra help :)
Now, there seems to be a bit progress. The only issue is now:
* WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries. *
I have the same error on Windows7Sp1x64: "WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries.". As noticed in [http://www.openni.org/openni-programmers-guide/]: "Drivers for the PrimeSense sensors are installed along with OpenNI 2.0". But where are they?