I am trying to use the Capture class from EmguCV on Unity Pro but everytime I call its constructor, I have the following error:
DllNotFoundException: opencv_core249 Emgu.CV.CvInvoke..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Emgu.CV.CvInvoke Emgu.CV.Capture..ctor (Int32 camIndex)
I've read that to solve the problem on Visual Studio for example, you just have to copy and paste the opencv_coreXXX and opencv_highguiXXX to the output folder but this solution doesn't seem to work with Unity.
The problem is that Unity is searching in the right folder (the output folder where I put all the EmguCV dll's) but doesn't seem to find the dll.
To install EmguCV in Unity, I've just followed the steps described by this guy on the following link: http://forum.unity3d.com/threads/182600-OpenCV-(EMGUCV-wrapper)-integration-in-Unity