Requis pour activer CUDA dans Opencv.
It isn't work anaconda ninja and fortran.exe, clang-cl.exe. This lapack is ver 3.9.
looks like this setting. cmake .. ^ -G "Ninja" ^ -DCMAKE_C_COMPILER=C:/Users/admin/anaconda3/Library/bin/clang.exe ^ -DCMAKE_Fortran_COMPILER=C:/Users/admin/anaconda3/Library/bin/flang.exe ^
If use msys64 is OK. cmake .. -G "MSYS Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran
environment ・ Windows 10 ・ Cpu ryzen 3700x ・ Gpu ncvidia-rtx3900
software ・ Msys64 ・ Cmake ・ Git ・ Opencv-4.5.0 ・ Fourmi 1.8.2 ・ Ouvrez-jdk-15 ・ Cuda 11 ・ Studio visuel 2019
cmd.exe
cd C:/tools/src/lapack
git clone https://github.com/Reference-LAPACK/lapack.git
cd lapack
mkdir build
cd build
cmake .. -G "MSYS Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran -DUSE_OPTIMIZED_BLAS=ON -DUSE_OPTIMIZED_LAPACK=ON -DCMAKE_INSTALL_LIBDIR=/tools/opt/lapack ..
cmake --build . --config Release --target install
cmake .. -G "MSYS Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran -DUSE_OPTIMIZED_BLAS=ON -DUSE_OPTIMIZED_LAPACK=ON -DCMAKE_INSTALL_LIBDIR=/tools/opt/lapack ..
cmake --build . --config Release --target install -j 8
Recommended Posts