c# - How to convert from (.lib) to (.dll) with OpenCV -


I am creating a C ++ code and I have the OpenCV2 Static Lib (.h and .hp file) I am using it when I compiled it as "Static Library (.lib)" as it successfully produces and generates .lib, and .obj files.

Now I am trying to use the previous project (C ++) in the C # project, so I tried using the "Dynamic Library (.dl)" to return the C ++ project To compile from, but I get 54 errors like this:

  Error LNK2001: unresolved external symbol "Public: Virtual Bull __thiscall cv :: _ InputArray :: empty (empty ) Const  

I tried to convert the MDD to MTD, however Neither does it work ...

So, what is the best way to use the C # code in the C # code!


Comments