OS X notes

The following tips are known to work on a MacBook Pro (September 2006, 4th). Comments or questions should be sent to N. Roussel.

freetype2

I use the freetype2 version that comes with Apple's X11 SDK (part of the Xcode tools).

ffmpeg plugin

I use the following options (and a few others) to configure FFmpeg (SVN version):

env CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib" ./configure --disable-debug --enable-gpl

qt plugin

I use the following options (and a few others) to configure Qt (Qt/Mac Open Source Edition):

./configure -verbose -release -no-qt3support -no-framework -I/sw/include -L/sw/lib

Note that the -no-framework flag is required. This is the only way I know to tell Qt to create pkgconfig files for its libraries (pkgconfig is the only clean and portable way I know to find out where Qt libraries are installed).

If you later get errors like libtool: link: cannot find the library `' or unhandled argument `Carbon', just delete all the libQt*.la files that Qt installed. These files are meant to be used by libtool, but Trolltech developers managed to get them wrong.

opencv demos

I use the following options (and a few others) to configure OpenCV (CVS version):

./configure --with-apps --with-carbon --without-swig --without-python CPPFLAGS="-I/sw/include -I/usr/include/malloc" LDFLAGS="-L/sw/lib"