failed to compile OpenCV with CUDA at opencv_cudev module

asked 2019-09-08 20:58:56 -0600

karl liu gravatar image

updated 2019-09-08 21:23:55 -0600

Environment:

  • OS: Ubuntu 18.04 server
  • CUDA: 10.0
  • GCC: 7.4.0
  • CMake: 3.10.2
  • Make: 4.1

CMake Configuration:

cmake ../opencv-4.1.1/ -LH -DCMAKE_BUILD_TYPE=Release -DWITH_GTK=OFF -DWITH_QT=OFF -DWITH_VTK=OFF -DWITH_OPENCL=ON -DWITH_OPENGL=ON -DWITH_ITT=ON -DWITH_CUDA=ON -DOPENCV_EXTRA_MODULES_PATH=/common/opencv_contrib/opencv_contrib/modules/ -DBUILD_OPENCV_CUDACODEC=OFF > build.log

I'm trying to compile OpenCV with CUDA on my Ubuntu Server, but when linking cxx shared library for opencv_cudev, the make failed, reporting: /usr/bin/ld: cannot find -llib64

I don't think there would be a liblib64.so so I'm confused. Any help would be really appreciated.

edit retag flag offensive close merge delete