|
This is a quick guide for getting started with OpenCV on OSX. I am using Xcode on an Intel Mac but the same procedure should work on PowerPCs.
-
open Xcode, create a new projects Command Line Utility/Standard Tool
create a new target, BSD/Shell Tool
add existing Frameworks, add /Library/Frameworks/OpenCV.framework
create a new File, BSD/C++ File
drop some example code in there
build/run
Alternatively here is a ready-made xcode project opencv-examples.
NOTE I ran into this problem with Xcode 2.2 where it would fail to see frameworks under /Library/Frameworks. After upgrading to v2.4 this problem disappeared. For v2.2 I had to manually add /Library/Frameworks to the frameworks search path like this: 1.)go to Project Info/build tab 2.)set the Frameworks Search Path to the above.
back to → opencv
Show pagesource
Old revisions
Backlinks
Index
Recent changes
Login
opencv-in-xcode.txt · Last modified: 2009/04/26 01:30 (external edit) |