I’m setting up my Jetson TK1 to work with ROS and OpenCV 4 Tegra. Right now I’m facing a tiny problem:
I have installed the grinch kernel + Cuda4Tegra + OpenCV4Tegra + OpenCV4Tegra-dev. Everything went smoothly until I installed a ros package called “ros-indigo-cv-bridge”, which is useful to translate ROS’ image messages to OpenCV’s matrix format. I broke my package system when trying to install it!
Ros-indigo-cv-bridge depends heavily on libopencv-dev and it seems that OpenCV4Tegra-dev is of no use when apt-get tries to install all dependencies. I get the following error from apt-get, for every component included in libopencv-dev:
dpkg: error processing archive /var/cache/apt/archives/libopencv-core-dev_2.4.8+dfsg1-2ubuntu1_armhf.deb (--unpack): trying to overwrite '/usr/include/opencv2/core/wimage.hpp', which is also in package libopencv4tegra-dev 126.96.36.199
So, my guess is, there must be a way to make apt-get to look into Opencv4Tegra to solve all dependencies when trying to install Ros-Indigo-CV-Bridge, but I don’t know how to do it. Or, the apt-get result is completely misleading.
Any suggestions would be appreciated.