Changes between Version 8 and Version 9 of MacOSXCompilationGuide
- Timestamp:
- 03/11/2012 05:55:00 AM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacOSXCompilationGuide
v8 v9 13 13 === Freetype === 14 14 15 Mac OS X Lion comes with Freetype already installed (older versions may need 'X11' selected during installation), but in an atypical location: /usr/X11. Running freetype-config in Terminal can give the locations of the individual folders, like headers, and libraries, so be prepared to add lines like {{{CFLAGS=`freetype-config --cflags` LDFLAGS=`freetype-config --libs`}}} before {{{./configure}}} when configuring packages that require freetype like gd and png. To use OS X's included copy of freetype with FFmpeg, you must specifically defeat the configuration test in "configure" (delete everything after "&&"), and add {{{--extra-cflags="`freetype-config --cflags`" --extra-ldflags="`freetype-config --libs`"}}}15 Mac OS X Lion comes with Freetype already installed (older versions may need 'X11' selected during installation), but in an atypical location: /usr/X11. Running freetype-config in Terminal can give the locations of the individual folders, like headers, and libraries, so be prepared to add lines like {{{CFLAGS=`freetype-config --cflags` LDFLAGS=`freetype-config --libs`}}} before {{{./configure}}} when configuring packages that require freetype like gd and png. 16 16 17 17 === Pkg-config & GLib ===


