Ask Your Question

Revision history [back]

If you have VS 2017 installed why are you trying to use the Intel Compiler, is it a requirement?

If not you should be able to achieve your objective by modifying the instructions you linked to build-compile-opencv-3-4-in-windows-with-cuda-9-0-and-intel-mkl-tbb to remove the CUDA and TBB options.

I assume you have installed MKL, if so open cmd and type "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64 followed by set "openCvSource=PATH_TO_SOURCE" set "vsEdition=Community" making sure to set PATH_TO_SOURCE correctly.

Finally generate the VS2017 solutions "C:\Program Files\CMake\bin\cmake.exe" -B"%openCvSource%\build_lapack" -H"%openCvSource%/" -G"Visual Studio 15 2017 Win64" -DBUILD_opencv_world=ON -DWITH_MKL=ON -DMKL_USE_MULTITHREAD=ON -DINSTALL_TESTS=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DWITH_CUDA=OFF

You can then inspect in the cmake gui as described in the post you linked to and Lapack should be populated image description

If you have VS 2017 installed why are you trying to use the Intel Compiler, is it a requirement?

If not you should be able to achieve your objective by modifying the instructions you linked to build-compile-opencv-3-4-in-windows-with-cuda-9-0-and-intel-mkl-tbb to remove the CUDA and TBB options.

I assume you have installed MKL, if so open cmd and type type

"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64 Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64

followed by by

set "openCvSource=PATH_TO_SOURCE" set "vsEdition=Community" "openCvSource=PATH_TO_SOURCE" set "vsEdition=Community"

making sure to set PATH_TO_SOURCE correctly.

Finally generate the VS2017 solutions solutions

"C:\Program Files\CMake\bin\cmake.exe" Files\CMake\bin\cmake.exe" -B"%openCvSource%\build_lapack" -H"%openCvSource%/" -G"Visual Studio 15 2017 Win64" -DBUILD_opencv_world=ON -DBUILD_opencv_world=ON -DWITH_MKL=ON -DMKL_USE_MULTITHREAD=ON -DINSTALL_TESTS=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DWITH_CUDA=OFF

You can then inspect in the cmake gui as described in the post you linked to here and Lapack should be populated image description

If you have VS 2017 installed why are you trying to use the Intel Compiler, is it a requirement?

If not you should be able to achieve your objective by modifying the instructions you linked to build-compile-opencv-3-4-in-windows-with-cuda-9-0-and-intel-mkl-tbb to remove the CUDA and TBB options.

I assume you have installed MKL, if so open cmd and type

"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64

followed by

set "openCvSource=PATH_TO_SOURCE" set "vsEdition=Community"

making sure to set PATH_TO_SOURCE correctly.

Finally generate the VS2017 solutions

"C:\Program Files\CMake\bin\cmake.exe" -B"%openCvSource%\build_lapack" -H"%openCvSource%/" -G"Visual Studio 15 2017 Win64" -DBUILD_opencv_world=ON -DWITH_MKL=ON -DMKL_USE_MULTITHREAD=ON -DINSTALL_TESTS=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DWITH_CUDA=OFF

You can then inspect in the cmake gui as described in the post you linked to here and Lapack should be populated image description

I cannot confirm that the Lapack libraries will actually be used but I just followed the above steps and build in VS2017 Release x64 without errors.

If you have VS 2017 installed why are you trying to use the Intel Compiler, is it a requirement?

If not you should be able to achieve your objective by modifying the instructions you linked to build-compile-opencv-3-4-in-windows-with-cuda-9-0-and-intel-mkl-tbb to remove the CUDA and TBB options.

I assume you have installed MKL, if so open cmd and type

"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\tbb\bin\tbbvars.bat" intel64

followed by

set "openCvSource=PATH_TO_SOURCE" set "vsEdition=Community"

making sure to set PATH_TO_SOURCE correctly.

Finally generate the VS2017 solutions

"C:\Program Files\CMake\bin\cmake.exe" -B"%openCvSource%\build_lapack" -H"%openCvSource%/" -G"Visual Studio 15 2017 Win64" -DBUILD_opencv_world=ON -DWITH_MKL=ON -DMKL_USE_MULTITHREAD=ON -DINSTALL_TESTS=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON -DWITH_CUDA=OFF

You can then inspect in the cmake gui as described in the post you linked to here and Lapack should be populated image description

I cannot confirm that the Lapack libraries will actually be used but I just followed the above steps and build built in VS2017 Release x64 without errors.