xavier opencv gstreamer

Hi,
I want to use opencv with gstreamer,I use the latest sdk Jetpack 4.2,below is the version of cuda

nvidia@nvidia-desktop:~$ ll /usr/local/
total 96
drwxr-xr-x 12 root root  4096 6月  20 11:23 ./
drwxr-xr-x 11 root root  4096 5月  21  2018 ../
drwxr-xr-x  2 root root  4096 7月   9 11:48 bin/
-rw-r--r--  1 root root     0 6月  17 14:10 .catkin
lrwxrwxrwx  1 root root     9 6月  20 11:23 cuda -> cuda-10.0/
drwxr-xr-x 12 root root  4096 6月  20 11:23 cuda-10.0/

when I build the opencv ,do I need to change the CUDA_ARCH_BIN=“7.2” to CUDA_ARCH_BIN=“10.0” below is the cmake command I use.Is that right?

cmake   WITH_CUDA=ON -D CUDA_ARCH_BIN="10.0" -D CUDA_ARCH_PTX="" -D WITH_GSTREAMER=ON -D WITH_LIBV4L=ON -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local  ..

Hi,

No. CUDA version is not CUDA_ARCH_BIN.

For OpenCv installation, you can run scripts in
https://github.com/AastaNV/JEP/tree/master/script