I’ve been trying to find a way to link my application against the OpenCV4Tegra libs in a cross-dev environment, with no success at all. Here’s a brief summary of my attempts so far (all commands run on my development Ubuntu 14.04 / x86_64):
$ sudo dpkg -i libopencv4tegra-repo_ubuntu1404_126.96.36.199_amd64.deb ... $ sudo apt-get update ... $ sudo apt-get install libopencv4tegra-dev ...
I would expect armhf shared libs to ve available at this point, but to my surprise only x86-64 become available… WTF? what can you exactly do with these libraries when the whole Tegra architecture is armhf?
Attempting the same process with “libopencv4tegra-repo_l4t-r21_188.8.131.52_armhf.deb” raises an armhf dependency hell.
Yes, I’ve read http://elinux.org/Jetson/Installing_OpenCV, and it doesn’t help because it only mentions cross-compilation as an option, and then proceeds to build everything on the Jetson TK1 target. Also, this will not give you NVIDIA’s CPU optimizations that are only available in the closed-source prebuilt OpenCV4Tegra packages.