tags:

views:

2172

answers:

5

If anyone who use Emgu openCv wrapper in .net 3.5 framework,please tell me why this exception appears,Its inner exception is unable to load cxcore.dll.

+1  A: 

I suggest you turn on Fusion logging and see where it's trying to load cxcore.dll from, and check that you've got it in the right place.

Jon Skeet
A: 

You don't have the right version of openCV installed, or you don't have the openCV dll's installed at all. The latest version of Emgu uses cxcore110.dll, previous version use cxcore100.dll. They have to either be in the directory your application is running, or in the path (probably %system32%). I had this problem a when I tried to get Emgu running.

Kris Erickson
+1  A: 

I'm having the same problem. I setup Fusion logging and it wasn't helpful, for me. I'm running the assembly in the same directory as cxcore110.dll, so I'm stumped.

Next, I loaded/copied all of the OpenCV DLLs in a directory in my path, same problem.

Found the solution after using dependency walker. It was working on any system that had VS2005 & VS2008. If you only have VS2008, then you'll need the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)s][1].

kenny
+1  A: 

I installed the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)s.

It worked!!!

Thanks Kenny.

A: 

I am developing a software for face detection. using Opencv 1.1 pre and Emgu.cv 1.5 but it gives same error. What can i do for this error? Please help me it is argent.