Ask Your Question

Revision history [back]

LNK1104 cannot open file 'opencv_core343d.lib'

I'm building a project in debug mode with solution platform of x64 using visual studio. I'm getting this error when building "LNK1104 cannot open file 'opencv_core343d.lib'"

In my debug x64 property sheet, I have

In linker section

  • D:\OpenCV\opencv\build\x64\vc14\lib; for additional library directories
  • Added opencv_world343d.lib in additional dependencies

In C/C++ section

  • D:\OpenCV\opencv\build\include; for additional include directories

The dll path is also added to environment path.

With the above setting, the error is very unexpected, and I have no clue what went wrong.