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?
Originally posted by priya on ROS Answers with karma: 36 on 2012-04-16
Post score: 0