Saturday, October 30, 2010

OpenCV + Visual Studio 2010 C++ Express

The first step is always the hardest.... First it's Visual Basics, then it's Code Warrior... now is... OpenCV... gosh... I sure hope there is someone who can teach me... nah... I heart self learning shiokness XD



NOTE* I got this from http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010

Configure Project Directories
  • In 2008
    • Tools -> Options -> Projects and Solutions -> VC++ Directories
  • In 2010
    • Project -> OpenCV_Helloworld Properties...Configuration Properties -> VC++ Directories
  • Include Directories... add: 'C:\OpenCV2.1\include\opencv;'
  • Library Directories... add: 'C:\OpenCV2.1\lib;'
  • Source Directories... add: 'C:\OpenCV2.1\src\cv; C:\OpenCV2.1\src\cvaux; C:\OpenCV2.1\src\cxcore; C:\OpenCV2.1\src\highgui; C:\OpenCV2.1\src\ml;'
  • Linker -> Input -> Additional Dependencies...
    • For Debug Builds.. add: 'cv210d.lib; cxcore210d.lib; highgui210d.lib;'
    • For Release Builds.. add: 'cv210.lib; cxcore210.lib; highgui210.lib;'

The linker I include only the Debug builds... however when i compile.. i got an error.... 


"The program can't start because libcxcore200d.dll is missing from your computer. Try reinstalling the program to fix this problem."


Hahaha... solving it now... ~.~


WOHOO !!!! It worked... so... I only used the release builds... deleted the Debug builds and restarted computer.. high five !! =D


WOHOoo !!! MY virgin program XD

This calls for a celebration ~~ go down have a snack then continue XD effing happy now #@%!^!# HAHAHAHAHAHA


See this? Told ya after done linking the library thingy then everything would be completed...
yah... it may not be convincing but it is a video XD wohoo.. finally... mission 1 accomplish... come on John, can throw me a harder task? haha.... 


No comments:

Post a Comment