Open Eyshika opened 1 year ago
I suspect there is something wrong with your CUDA installation. How and where is it installed? Can you post the full output from the CMake configuration stage.
If you have followed instructions from a third party guide on how to install everything I would ask them for help as they are more likely to know what issue their guide may have caused.
CuFFT need to be installed (with -dev package, if you use apt) to build OpenCV. It's required dependency.
System information (version)
Detailed description
I am installing opencv from source, to be able to use NVIDIA optical flow functions. But its giving below error while generating cmake.
I dont understand , why its doing this, I am using
cmake -D WITH_CUDA=ON -D CMAKE_BUILD_TYPE=RELEASE -D WITH_TBB=ON -D BUILD_opencv_cudacodec=OFF -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WOTH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=OFF -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_ENABLE_NONFREE=ON -D BUILD_opencv_python2=OFF -D CMAKE_INSTALL_PREFIX=/usr/local -D PYTHON3_INCLUDE_DIR=$(python3 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") -D PYTHON3_PACKAGES_PATH=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") -D PYTHON3_EXECUTABLE=$(which python3) -D PYTHON_DEFAULT_EXECUTABLE=$(which python3) -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-4.8.0/modules -D WITH_JASPER=OFF -D BUILD_EXAMPLES=OFF -D WITH_IPP=ON -D BUILD_SHARED_LIBS=OFF -D HAVE_opencv_python3=ON -D CUDA_ARCH_BIN=6.0 -D CUDA_ARCH_PTX="" ..
Steps to reproduce
Issue submission checklist