Install Opencv on PX2

Hi,

I followed the link below to successfully install opencv3.4 on my host pc and finished the crosscompiling without errors. And my SDK version is 5.0.5.0.

https://devtalk.nvidia.com/default/topic/1032772/faq/cross-compiling-opencv-3-4-0-on-pdk-5-0-5-0/

Is there any similar instructions that can guide us to install opencv3.4 on px2 with cuda9.0 correctly?Cuz I heard some issues from other users that installing opencv on px2 might cover some libs, which made part of functions not work again (such as open a camera or open a video). And the solution is to reflash px2.

I already checked https://devtalk.nvidia.com/default/topic/1019937 and OpenCV: Building OpenCV for Tegra with CUDA. And it only teaches install opencv3.1 on px2 under cuda8.0. Is there any guide can guide us to install opencv 3.4 on px2 correctly?

Dear hui_luan,

Could you please help to check below links for your topic? Thanks.

https://stackoverflow.com/questions/46584000/cmake-error-variables-are-set-to-notfound