Using Ubuntu and Jetpack 3 and the TK1 along with the OV5640 camera, I am developing a machine vision project. From /home/ubuntu/OpenCV4Tegra I ran the shell script to install OpenCV4Tegra.
I have linked up necessary libraries and build paths in Nsight and whatever OpenCV libraries I have work on the machine. I need to use cv::VideoCapture along with gstreamer to capture images and process them. I already have built my gstreamer pipeline and gotten it working.
I have already tried the following:
- following this link - https://elinux.org/Jetson/Installing_OpenCV but option 1 (using prebuilt libraries) does not work. running
sudo dpkg -i libopencv4tegra-repo_l4t-r21_18.104.22.168_armhf.deb
returns no such file or directory.
2. Building from source from both the elinux site and from the openCV documentation. I git cloned both the openCV source files and the OpenCV_contrib repository, then I updated cmake to the latest version and everytime I try to run Cmake with the any sort of flags and options I get the same error message.
Build output check failed: Regex: 'command line option .* is valid for .* but not for C\+\+'
I am out of ideas and I need this to be working as soon as possible. All I need is the videoio .so library installed correctly but I am not sure how to do that without completely installing openCV from source. If there is a way to just link that library please let me know. Otherwise I need to get OpenCV built from source on this machine.