[JAVA] Note Book: OpenCV v4.5.0 with Alphamat Install On Windows10 But it need Eigen

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 .. image.png

cmake --build . --config Release --target install -j 8 image.png

Recommended Posts

Note Book: OpenCV v4.5.0 with Alphamat Install On Windows10 But it need Eigen
Note Book: OpenCV with CUDA Install On Windows10
Note Book: OpenBLAS Install On Windows10
Note Book: LAPACK Install On Windows 10
Note Book: VTK Install On Windows10
Install Java with zip on Windows
Note Book: JVM is crash by HighGui #imshow On Windows 10 of Open JDK 11, 14, 15 and 15.01 with OpenCV. But however it's worked on OpenJDK16ea.
Note Book: OpenCV v4.5.0-dev On Ubuntu 20.04 But Didn't work cmake build for Java
Install Corretto 8 on Windows
Note: Install nginx from official repositories with dnf on CentOS 8