Yasser Akram Yasser Akram - 9 months ago 68
C++ Question

Using opencv with C++ .net application compilation issues

I didn't face any issues while linking opencv library with basic console application but when I moved to do the same in a .net framework template I got many LNK errors:

LNK errors

I didn't do anything strange except that I included the include and using namespace only.

I appreciate any assistance provided

PS: I managed to run it if I install the opencv package via NuGet but I don't wan't to use NuGet.

Answer Source

What version of opencv are you using, and visual studio? did you include additional libraries and headers to your project? and did you add the bin path of opencv to your environment variables?