ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

[ROS openni] Cant make openni

asked 2013-06-30 15:27:35 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Cant make opennni distribution:groovy

↓error massage make[1]: Entering directory `/home/viki/drivers/openni' cd build/openni/Platform/Linux/CreateRedist && bash RedistMaker && cd -

  • PrimeSense OpenNI Redist *
  • 2013-06-30 21:22:15 *

Target: Linux-x86 Version: Num of compile jobs: 2

  • Building OpenNI... ../../../../Source/OpenNI/XnPlayerImpl.cpp: In constructor ‘xn::PlayerImpl::PlayerImpl()’: ../../../../Source/OpenNI/XnPlayerImpl.cpp:71:33: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] ../../../../Source/OpenNI/XnRecorderImpl.cpp: In constructor ‘xn::RecorderImpl::RecorderImpl()’: ../../../../Source/OpenNI/XnRecorderImpl.cpp:51:18: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] ../../../../../Samples/NiViewer/Device.cpp: In function ‘XnStatus openDeviceFromXmlWithChoice(const char, xn::EnumerationErrors&)’: ../../../../../Samples/NiViewer/Device.cpp:252:22: warning: ignoring return value of ‘int scanf(const char, ...)’, declared with attribute warn_unused_result [-Wunused-result] /bin/sh: 1: javac: not found make[3]: * [../../../Bin/x86-Release/org.OpenNI.jar] Error 127 make[2]: [Wrappers/] Error 2 make[2]: Waiting for unfinished jobs.... failed to execute: make -j2 -C /home/viki/drivers/openni/build/openni/Platform/Linux/CreateRedist/../Build > /home/viki/drivers/openni/build/openni/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt Building Failed! make[1]: [installed] Error 1 make[1]: Leaving directory `/home/viki/drivers/openni' make: ** [openni_lib] Error 2
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-08-12 10:46:40 -0500

tfoote gravatar image

It looks like you are missing javac which is usually in standard JDKs.

edit flag offensive delete link more

Question Tools


Asked: 2013-06-30 15:27:35 -0500

Seen: 390 times

Last updated: Aug 12 '13