# -rw-r--r-- 1.1 KiB View raw
By default the TX2 Ubuntu install uses an OpenCV version 4.1 package distributed by NVidia.  Our software does not build with it it, you must tell it to install the default Ubuntu OpenCV version 3.2 package:

    sudo apt-get purge libopencv-dev
    sudo apt install libopencv-dev=3.2.0+dfsg-4ubuntu0.1
    sudo apt-mark hold libopencv-dev
    apt-cache policy libopencv-dev # verify it's using the right version

I've set it up so that the the [FOO] driver is vendored into our workspace, using the 2.2.13 release.  It's also available as an apt package, but it tries to install a kernel module for kernel 4.15 when I install that, and since the TX2 runs a customized build of kernel 4.9, I'd prefer not to go there.  On the flip side of that, the 2.2.13 driver wants libfoo 2.32, and we're currently locked on version 2.25 due to a bug in a later version – though I don't recall what the bug is, I'll have to do some research and test if it's now resolved.

We're just lucky it seems to like Boost 1.65, since that's the default on Ubuntu and it doesn't seem to specify that it wants Boost at all, let alone a particular version.