dusty-nv / jetbot_ros

ROS nodes and Gazebo model for NVIDIA JetBot with Jetson Nano
MIT License
383 stars 180 forks source link

OpenCV install conflict with 3/18/19 Jetbot SD card image #6

Open openr2-org opened 5 years ago

openr2-org commented 5 years ago

I am using the 3/18/2019 Jetbot SD image.

I am getting two errors when I follow the instructions explicitly. I get that QT 4.X is a requirement and not loaded. I get the libopencv-calib3d-dev has an unresolved issue and libopencv-dev has a conflict.

The first issue when looking at the CMakePreBuild.sh is that the apt-get install is failing completely but then the script continues to run. It runs but finally stops at the missing QT.

So I run apt-get with each of the packages one by one. It is able to install everything but libopencv.

If I rerun CMakePreBuild again I get past the QT error but know I get an error with OpenCV. It says tha OpenCV is trying to overwrite /usr/bin/opencv_version which is also in a package libopencv 3.3.1.2-g31ccdfe11. Also a system pop up on the desktop says "a Ubuntu package has a file conflict with a package that is not a genuine Ubuntu package"

I have re-flashed the drive 3 times now. And the above is a 100% repeatable scenerio.

Has this actually been tested lately with the 3/18/2019 Jetbot SD image?

dusty-nv commented 5 years ago

@openr2-org for sanity, please try building this on the official SD card image found here: https://developer.nvidia.com/embedded/dlc/jetson-nano-dev-kit-sd-card-image

If that works for you, it would point to something going on with the JetBot-specific image.

openr2-org commented 5 years ago

I think I'm actually mistaken by calling the image the Jetbot image. It is the image on the main Jetson page. I will try one more time using your link just to set a 100% confirmed baseline.