openni_kinect on armv7l install from source error
Hey gang,
Running Electric on a PandaboardES with a stripped down Ubuntu 11.10 OS on it. The Pandaboard is an ARMv7l architecture.
Electric installed just fine from source. Now I'm trying to get Openni_kinect installed so I can try some stuff using the Kinect. I'm trying to do the install from source and I'm getting the following output when I attempt to perform the "make" step, with the error at the end.
Trying to install from the step 3.1 Ubuntu Installation didn't work (said it couldn't find a matching package.)
( Edit -- I got past the original problem, but now have some others. Here's what I had to do to get past the original problem and where I'm at now...)
Ok, I had to install:
libusb-1.0.0-dev openjdk-6-jdk doxygen
I had to fix the .py file in build/openni/Platform/Linux/CreateRedist to add in "armv7l" as a legal option.
I also had to fix /drivers/ps_engine/build/ps_engine/Platform/Linux/CreateRedist/RedistMaker to add armv7l as an option for ARM.
And I got a bit farther but ran into another one here that I don't have a clue how to fix:
(snipped out a ton of compiling here) make[3]: Leaving directory `/home/mkopack/Downloads/drivers/ps_engine/build/ps_engine/Platform/Linux/Build/XnDeviceFile' make[2]: Leaving directory `/home/mkopack/Downloads/drivers/ps_engine/build/ps_engine/Platform/Linux/Build' Creating redist folder... Creating tar... Done! /home/mkopack/Downloads/drivers/ps_engine touch installed make[1]: Leaving directory `/home/mkopack/Downloads/drivers/ps_engine' cd nite && make make[1]: Entering directory `/home/mkopack/Downloads/drivers/nite' mkdir -p build ./download_checkmd5.py http://pr.willowgarage.com/downloads/openni/ Usage: download_checkmd5.py URI dest [md5sum] download_checkmd5.py: error: wrong number of arguments make[1]: *** [build/Nite-1.3.1.5/unpacked] Error 2 make[1]: Leaving directory `/home/mkopack/Downloads/drivers/nite' make: *** [nite_lib] Error 2 mkopack@localhost:~/Downloads/drivers$
Looking at the drivers/nite/Makefile, it seems to have entries for 32+64 bit x86, but nothing for any other architecture, which might explain the missing parameter I think. I just don't know what to do at this point.
Is there a way I can skip around the md5check?
God this has been an absolute headache and a half!
EDIT #2:
I tried what Eric suggested as you see below, but no dice...
(Edit - I figured it out.. .NEeded to first go to my ros_workspace and do:
hg clone https://kforge.ros.org/openni/openni_launch
as that's where the openni stuff was...
Then cd into the new openni directory and perform the command Eric gave.
Compiling now... Keeping fingers crossed. Thanks Eric!
EDIT#3:
Well, that still didn't work...
It keeps saying it needs:
libusb-1.0.0-dev (even though I have libusb-1.0-dev installed)
yaml-cpp (forgot the version number) - which I can't even find when doing apt-cache search yaml-cpp)
And it's looking for openni-dev which I can't find listed anywhere ...
If you are sure you have the rosdeps installed (and think the problem is just that rosdep isn't detecting them properly) you can leave out the --rosdep-install step and replace it with --no-rosdep to skip rosdep checks and just try to build.
For any packages you can't find in an apt-cache search, they likely don't have an ARM .deb for 11.10. I don't know where you could search to check, but they may be available for the LTS (10.04 for the next month or so) if they don't build all ARM packages for all releases.