Visual Studio wants to use old lib file

Hi,
I’m trying to convert a project from OpenCV 3 to open CV 4.
Using Visual Studio 2017 and a prebuild OpenCV I can get it almost working.
The only thing is that Visual Studio gives this error:

|Error|LNK1104|cannot open file ‘opencv_world341d.lib’

Why is it rying to open the old lib? I installed the 4.5.2 version of OpenCV.

most likely, you’re trying to re-use your old vs project, and the old libs/includes are still in there

Sorry, my mistake. I updated the include and lib path, but forgot to change the add (change) the new depency.

1 Like