cxcore100d.dll or cxcore100.dll not found

April 20, 2007 at 1:14 am | Posted in OpenCV | 4 Comments

Hi !

Well, check if you have correctly installed openCV :

http://opencvlibrary.sourceforge.net/VisualC%2B%2B

Do not forget to put the CV headers after the Visual Studio ones (sounds stupid but it was my problem). However, be careful because if you are using different versions of OpenCV, then this is clearly NOT  a solution. In this case I would suggest to use OpenCV static libraries.

See you!

Marcelo

PS: Otherwise, use the brute force approach : copy all the openCV dll to the project directory…. (try not to do it)

4 Comments »

RSS feed for comments on this post. TrackBack URI

  1. The best way to fix that would be to add the OpenCV bin directory to your path.

    You’ll need to reboot afterward for the changes to take affect.

  2. There is no need to copy all the files to the project directory. This error is caused when the OpenCV/lib directory is not added to the PATH variable of your Windows.
    The solution is to just add the path of OpenCV/lib directory i.e for example “C:\Program Files\OpenCV\lib” or wherever you OpenCV library is installed , to the PATH variable in the Environment Variables of your windows installation. This can be done by right clicking “My Computer” icon and then Properties and “Advanced System Settings” and Environment Variables and then adding the path of the OpenCV /lib directory to the “PATH” in the System “Variables window”

  3. Thanks guys.
    It was obvious one needed to include the path to open cv but i thought i had to do this on C++ 2005 project.
    I’ve installed OpenCV 1.0 before…on my laptop and everything was ok. Now, on desktop i did exactly the same, installer had a checkbox to include it in PATH and i though it’s gonna do it. After that, i get the same error as above. A simple restart did the trick.

  4. after you add all the include,library and source files as per the vc++ – opencv tutorial restart the vc++. It will work.

    Adding the lib to environmental variables is not necessary. I wasted a lot of time debugging all i had to do was to restart VC++


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.