OpenCV3.xx installation, which version is easiest way to do it?

I am trying to install OpenCV for JetsonTx2. Cuda version is 9.0.
I tried to install OpenCV3.3 base on following link below, but it failed.
Does anyone know which opencv version is easiest combination with cuda 9.0? The version of opencv should be above 3.0.


You can use OpenCV-3.4.0.
We also have an automatical script for installing it from source.


Thank you. Instalation succeeded, by following your instruction!