• Embed Doc
  • Readcast
  • Collections
  • 4
    CommentGo Back
Download
 
2008.10.10 / jakub czaplicki / twitter:kupsztal
OpenCV under Microsoft Visual C++ 2008 Express Edition (WinXP)
This is a small walkthrough which I put together while I tried to run OpenCV usingMS Visual C++ 2008 Express Edition. This document is mainly based onhttp://myopencv.blogspot.com/2008/09/visual-c-and-opencv.htmlandhttp://opencvlibrary.sourceforge.net/wiki-static/VisualC(2b2b).html1.Download & install OpenCV for Windows -
OpenCV_1.0.exe
fromhttp://opencvlibrary.sourceforge.net/(In this small tutorial OpenCV has beeninstalled into C:/Program Files/OpenCV/ )2. Download & install Microsoft Visual C++ 2008 Express Editionhttp://www.microsoft.com/express/vc/(require WinXP or later)3.Register ithttp://www.microsoft.com/express/registration/Default.aspx(
Help->Register Product
.)a.You will receive email with link to confirm your email address b.Then you will receive another email with link to the registrationnumber 4.Once you have your VC++ registered and it's ready to use, you need tocustomize Global Options so that you can use OpenCV libraries.
In the menu bar, select
Tools->Options
In the listing, choose
Projects and Solutions->VC++ Directories
.
First, from the "
Show Directories for:
" list box choose "
Include Files
".(“Platform” list box should show “Win32”), see screenshot
 
Click the Insert New icon, and locate the folder where you have installedOpenCV. Let’s consider that it is installed in "C:\Program Files\OpenCV\"
In the "
Include files
" list, locate and add:"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""C:\Program Files\OpenCV\ml\include""C:\Program Files\OpenCV\otherlibs\_graphics\include""C:\Program Files\OpenCV\otherlibs\_graphics\include\jasper"
 
 Next, choose "
Library files
" in the list box, and locate and add thefollowing directories:"C:\Program Files\OpenCV\lib""C:\Program Files\OpenCV\otherlibs\_graphics\lib"
 Next, choose "
Source Files
" in the list box, and locate and add thefollowing directories:"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""C:\Program Files\OpenCV\ml\src""C:\Program Files\OpenCV\otherlibs\_graphics\src"
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
09 / 04 / 2010This doucment made it onto the Rising List!

Top work. Very clear instructions that actually work

You must be to leave a comment.
Submit
Characters: ...