Ask Your Question

Revision history [back]

Error while compiling with VS 17

I´m trying to compile OpenCV 4.1.1 with Cuda 10.1, cuDNN, IPP, MKL and TBB on Visual Studio 2017 x64 build. It always fails in the build state with the same error for every project:

27>cuda_perf.cpp
27>cuda_test.cpp
27>ocl_perf.cpp
27>ocl_test.cpp
29>opencv_annotation.cpp
30>calibController.cpp
30>calibPipeline.cpp
30>frameProcessor.cpp
30>main.cpp
28>average_hash.cpp
28>block_mean_hash.cpp
28>color_moment_hash.cpp
30>parametersController.cpp
30>rotationConverters.cpp
28>img_hash_base.cpp
29>LINK : fatal error LNK1104: cannot open file 'x64.lib'

So far I´ve tried to build it in release/debug mode on VS 2017 Community and debug on a fresh install of VS 2017 Enterprise with the same outcome. I´m getting burned out on that one, especially with the long compiling time, so if anyone has a tip; it´s greatly appreciated.

VS Error log VS Output