OpenCV 2.4.6.1 OpenNI 2.2 missing OPENNI_PRIME_SENSOR_MODULE_BIN_DIR

asked 2013-07-28 22:29:15 -0600

updated 2013-07-28 22:38:04 -0600

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

edit retag flag offensive close merge delete

Comments

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-29 03:22:05 -0600 )edit

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????

jiapei100 gravatar imagejiapei100 ( 2013-07-29 06:03:07 -0600 )edit

Excuse me but my openni knowledge is pretty small. Guess you will have to wait for extra help :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-29 06:24:25 -0600 )edit
1

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. *

jiapei100 gravatar imagejiapei100 ( 2013-07-29 08:58:11 -0600 )edit

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?

Zefman gravatar imageZefman ( 2013-09-18 08:31:55 -0600 )edit