Adding OpenCV 4.5.3 to Visual Studio 2019

Yes linking both d and non -d was an act of frustration → I fixed that

Yes I restarted the machine after editing the PATH variable.

What got me confused it in the tutorial it looks like three options to install:

  1. Installation by Using the Pre-built Libraries

  2. Installation by Using git-bash and cmake

  3. Installation by Making Your Own Libraries from the Source Files

I went for 1) because it looked straight forward and simple and was matching the tutorial I linked in my first post.

But anyhow, I followed your recommendation and followed the "Installation by Using git-bash and cmake tutorial…

But instead of step 8 of the tutorial: “Drink a coffee or two…” I called it a day.

New day new happiness - at this point the tutorial isn’t really much help anymore because it’s referring to another version. But I thought I figured it out - fixed the file paths because they slightly changed…

and… it works :star_struck: thank’s to @crackwitz

1 Like