Required to use Alphamat with 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 ・ Cudnn 8.4 ・ Visual studio 2019
cmd
mkdir eigen
cd eigen
git clone https://gitlab.com/libeigen/eigen.git
cd eigen
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -T host=x64 -DCMAKE_INSTALL_PREFIX=/tools/opt/eigen -DEIGEN_INCLUDE_PATH=/tools/opt/eigen build64 -DEIGEN_TEST_CUDA=ON -DBLAS_DIR=/tools/opt/openblas ..
cmake --build . --config Release --target install -j 8
capture
cmake -G "Visual Studio 16 2019" -T host=x64 -DCMAKE_INSTALL_PREFIX=/tools/opt/eigen -DEIGEN_INCLUDE_PATH=/tools/opt/eigen build64 -DEIGEN_TEST_CUDA=ON -DBLAS_DIR=/tools/opt/openblas ..
cmake --build . --config Release --target install -j 8
Recommended Posts