shiroku.net
Install OpenCV on Jetson TX2 | shiroku.Net
This is my memo to setup OpenCV on Jetson TX2. Environment Jetson TX2 Ubuntu 16.04 JetPack 3.2.1 OpenCV 3.4.0 Why we don't use OpenCV4Tegra? Because it doesn't support "gstreamer". Install gcc $ sudo apt-get purge libopencv* $ sudo apt autoremove $ sudo apt-get update $ sudo apt-get dist-upgrade $ sudo apt-get install --only-upgrade g++-5 cpp-5 gcc-5 Check Priority of gcc You should use gcc 5. $ gcc --version gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++ --version g++ (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If it's wrong, it can be changed by following steps. $