1

I am trying to wrap openCV for use with C#. This the first time I have tried wrapping C++.

I found this question and answer: Creating an C++/CLI OpenCV wrapper to use in C#

However I cannot get the solution to work. If, as told, I just copy the header files from my static library, I need to also link the openCV libs to c++/cli poject so the opencCV includes in the header files work.

However the project will not build due to MTd_StaticDebug does not match the MDd_DynamicDebug being used to build the c++/cli DLL.

Then I tried to abstract out the code, creating an entry class which itself did not reference any openCV types, this still will not build citing the MTd/MDd error.

What do I need to do?

Community
  • 1
  • 1
uhsl_m
  • 322
  • 3
  • 11

1 Answers1

0

I tried out both EmguCV and OpenCvSharp. OpenCvSharp seemed to work the best for me.

uhsl_m
  • 322
  • 3
  • 11