build failed for openni driver

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build failed for openni driver

priya
hi

i have kinect camera and i'm trying to install it in my laptop with 32-bit ubuntu 11.10 and ros electric.so i connected the usb cable from kinect to laptop and started with the steps given in openni_kinect package in ros.org and got following error while trying to run make cmd in drivers:

root@mutu-Vostro-3550:/opt/ros/electric/stacks/drivers# make
cd openni && make
make[1]: Entering directory `/opt/ros/electric/stacks/drivers/openni'
cd build/openni/Platform/Linux/CreateRedist && bash RedistMaker && cd -


*********************************
*   PrimeSense OpenNI Redist    *
*     2012-04-16 21:21:43       *
*********************************

Target: Linux-x86
Version: 1.5.2.23
Num of compile jobs: 8

* Building OpenNI...
../../../../../Source/Utils/niLicense/niLicense.cpp: In function ‘int main(int, char**)’:
../../../../../Source/Utils/niLicense/niLicense.cpp:122:108: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat]
../../../../../Source/Utils/niLicense/niLicense.cpp:129:97: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat]
/bin/sh: javac: not found
make[3]: *** [../../../Bin/x86-Release/org.OpenNI.jar] Error 127
make[2]: *** [Wrappers/OpenNI.java] Error 2
make[2]: *** Waiting for unfinished jobs....
failed to execute: make  -j8 -C /opt/ros/electric/stacks/drivers/openni/build/openni/Platform/Linux/CreateRedist/../Build > /opt/ros/electric/stacks/drivers/openni/build/openni/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
Building Failed!
make[1]: *** [installed] Error 1
make[1]: Leaving directory `/opt/ros/electric/stacks/drivers/openni'
make: *** [openni_lib] Error 2

what should i do?
Reply | Threaded
Open this post in threaded view
|

Re: [Ros-kinect] build failed for openni driver

Jack O'Quin
On Mon, Apr 16, 2012 at 11:53 AM, priya <[hidden email]> wrote:
> hi
>
> i have kinect camera and i'm trying to install it in my laptop with 32-bit
> ubuntu 11.10 and ros electric.so i connected the usb cable from kinect to
> laptop and started with the steps given in openni_kinect package in ros.org
> and got following error while trying to run make cmd in drivers:

This was an appropriate question on answers.ros.org.

Asking it here, too, was not appropriate.
--
 joq
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|

Re: [Ros-kinect] build failed for openni driver

priya
sorry i was just trying to get a solution to my problem...i wont repeat...