- Install Xcode on Mac OS X computer.
- Download OpenCV source package (for Linux) from SourceForge.
- Unpack the source package
- Generate Makefile.in/am
autoreconf -i --force - Configure
./configure --prefix=/usr/local --with-python --with-swig - Build and test building result
make
make check - Install
make install - Building applications
g++ -o capcam main.cc -I /usr/local/include/opencv -L/usr/local/lib -lcxcore -lcv -lcvaux -lhighgui -lml
Jun 20, 2009
Build OpenCV under Mac OS X
Install OpenCV on Mac OS X
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment