header photo

Level 0-EmguCV Installation Guide for 32-bit Windows users

June 8, 2011


NOTE: FOR THOSE WHO USE 64-bit Windows



1. Make sure you have Visual Studio C# 2008 installed (any edition, I’ve used Visual C# 2008 Express Edition and Visual Studio 2008 and 2010 Professional Editions on my 32-bit Win 7 Ultimate. So far so good.)

2. Download Emgu CV installer. You could use any latest vesion but i can't guarantee that my tutorials will work cent per cent same on it too. select your desired version here, or follow with mine below, I used the following version:
libemgucv-windows-x86- - Download it from here

3. Install Emgu CV to windows directory.( if you're using the same version as me, then copy-paste the following Path EXACTLY as in below fig, To avoid any incompatibility with my tutorials.):

note: 'emgucv-windows-x86' is the name of the setup file. Depending on the version you're using, if it's different than mine, adjust it according to YOUR setup file name please)

Set Path of EmguCv at installation


PART 2- Run the Examples!--checking if we correctly configured our tools:

4. Go to the VS2008 folder in Emgu, path is as follows:

and open Emgu.CV.Example.sln, (click OK to any error messages(if any) when they appear while trying to open the .sln, they're for Visual Basic files, C# files will load normally)

Note: before you run any example; you should first replace the missing reference files with their correct n current paths. The following explains how to:

A.Replace/add the path of project References:
4. When the Project solution is opened, first expand the project’s “References” from the “solution explorer” at right side of the IDE. Then Delete all the Emgu.CV.xxx.dll files in the reference if it has a yellow exclamation mark on it indicating that file is missing from path specified. REMEMBER which ones you deleted, because now we will add them.

    i. Right-click References and select "add reference"

    ii. Select the Browse tab
    iii. To add a .dll file, browse to where the required .dll files are located. For our tutorial, our required .dll files are in EmguCV’s bin folder at the following path:        C:\Emgu\emgucv2.2.1.1150\bin

     iv. Select the .dll file you want to add. Click ok. (you can select and add multiple .dll files at once by holding ctrl+click as shown in level-1 Tutorial)

The files should be added by now! see the Emgu.CV  and Emgu.Util under References where the red arrow is pointing in the Solution Explorer? that's it! :)

B. Build the solution:
5. OK so we’ve checked if our referenced dlls were missing and took care of the matter. Now let’s get down to our main point. That’s right! Let’s see the output already!
For that, Right-click the Solution 'Emgu.CV.Example' in the solution explorer and select Build solution. Then once it is built, click the debug button (green play button), now you should see a window with “hello world” pop up. I did. Maybe you will too if all went well so far :)

6. Congratulations! You just successfully configured your first EmguCV project!
After this is done, all the other EmguCV Examples are ready to be built and be debugged. They will be present at the following path C:\Emgu\emgucv2.2.1.1150\Emgu.CV.Example



Go Back

Thank you, my project was success couse you contributed and exp, God Bless


Really helpful link. Thanks

Great work,this tutorial helped me a lot thanks...

thankyou Mahvish for this... it is helping alot in my FYP :)

Thank you for this tutorial.. I followed it step-by-step so that I won't have any problems and so I finished this tutorial. This was really helpful.

Finally I can run this code.
thank you so much.

Hello, I got stuck in first tutorials, it says that haarcascade is obsolete and I was looking many pages in google and didn't find anything helpful, I hope you can answer me, please and thanks

igot it sir.thank u.

thanks for your tuto.it helps me

Hi Mahvish,

Great work.. could you please add links to next and previous tutorial so that it will be really easy for navigations. Just commented what strike in my mind... :)

Thank you!