Hi,
I’ve followed tutorial to link opencv but it doesn’t. I think that I didn’t make mistake, and I didn’t find more informations …
I am using ssh between host ubuntu 18.04, and I the target is a jetson TX2.
Find here my steps :
First, I indicate the path :
Then, I indicate librairies’s path, and I add libraries :
When I compile, I have the following mistake :
/usr/local/cuda-10.0/bin/nvcc --cudart static -L/usr/lib/aarch64-linux-gnu/ -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_highgui.so.4.1.1 -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_highgui.so.4.1 -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_highgui.so -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so.4.1.1 -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so.4.1 -Xlinker /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so --relocatable-device-code=false -gencode arch=compute_62,code=compute_62 -gencode arch=compute_62,code=sm_62 -m64 -ccbin aarch64-linux-gnu-g++ -link -o "0_mmy_cpy_VectorAdd" ./src/CPUFunction.o ./src/vectorAdd.o -lgomp -llibopencv_highgui -llibopencv_imgproc /usr/bin/ld: cannot find -llibopencv_highgui /usr/bin/ld: cannot find -llibopencv_imgproc collect2: error: ld returned 1 exit status makefile:59: recipe for target '0_mmy_cpy_VectorAdd' failed make: *** [0_mmy_cpy_VectorAdd] Error 1
It will be very nice if someone could give me indications … Thank you !