Required to enable CUDA in Opencv.
environment ・ Windows 10 ・ Cpu ryzen 3700x ・ Gpu ncvidia-rtx3900
software ・ Anaconda ・ Ninja ・ Cmake ・ Git ・ Opencv-4.5.0 ・ Ant 1.8.2 ・ Open-jdk-15 ・ Cuda 11 ・ Visual studio 2019
cmd.exe
mkdir vtk
git clone --recursive https://github.com/Kitware/VTK
cd VTK
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -T host=x64 -DCMAKE_INSTALL_PREFIX="/tools/opt/tools/vtk" ..
cmake --build . --config RELEASE --target install
capture
Recommended Posts