Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

failed to compile OpenCV with CUDA at opencv_cudev module

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.

failed to compile OpenCV with CUDA at opencv_cudev module

Environment: - Environment:

  • OS: Ubuntu 18.04 server - server
  • CUDA: 10.0 - 10.0
  • GCC: 7.4.0 - 7.4.0
  • CMake: 3.10.2 - 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.