OpenCV with Visual C++ 6.0, 2005 Express, and 2008 Express


The set of instructions below is tested with Visual C++ 2003. It will also work with some modification under Visual C++ 6.0 and Visual C++ 2005, 2008 Express Edition.

To create your own OpenCV-based project in Visual Studio do the following:

Linking DLLs:

Customize Global Options:

"C:\Program Files\OpenCV\lib"

Options_Library.jpg

        "C:\Program Files\OpenCV\cv\include"
        "C:\Program Files\OpenCV\cxcore\include"
        "C:\Program Files\OpenCV\otherlibs\highgui"
        "C:\Program Files\OpenCV\cvaux\include"
        "C:\Program Files\OpenCV\otherlibs\cvcam\include"

Options_Include.jpg

        "C:\Program Files\OpenCV\cv\src"
        "C:\Program Files\OpenCV\cxcore\src"
        "C:\Program Files\OpenCV\cvaux\src"
        "C:\Program Files\OpenCV\otherlibs\highgui"
        "C:\Program Files\OpenCV\otherlibs\cvcam\src\windows"

Options_Source.jpg

Create New Project:

Win32Console.jpg

AppWizard.jpg

                    #include <cv.h>
                    #include <cxcore.h>
                    #include <highgui.h>

AdditionalDependencies.jpg

Compiling.jpg .

If you have any queries regarding this, try posting at OpenCV Yahoo! Groups.


VisualC++ (last edited 2008-06-13 05:18:51 by Lee Seongjoo)

SourceForge.net Logo