Installation OpenCV on OSX
OSX 2009. 2. 11. 17:18OpenCV1.1 doesn't compile on OSX 10.5.6
So I tried the OpenCV1.0 and got it work.
Installation Procedure
1. Get OpenCV1.0 and unpack it
2. go to the source folder and type
$ ./configure
$ make
$ sudo make install
3. Get Fink from here and install it
4.Installing External Dependencies
$ fink install libname
pkgconfig
libjpeg
libtiff
libpng3
pango1-xft2-dev
atk1
gtk+2-dev
glib2-dev
5. Run Demo
go to ~/Documents/opencv-1.0.0/samples/c
and type
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ g++ -bind_at_load `pkg-config --cflags opencv` morphology.c -o morphology `pkg-config --libs opencv`