Changes between Version 8 and Version 9 of CompilationGuide/MacOSX


Ignore:
Timestamp:
Mar 11, 2012, 6:55:00 AM (8 years ago)
Author:
SJ_UnderWater
Comment:

freetype fix

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MacOSX

    v8 v9  
    1313=== Freetype ===
    1414
    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`"}}}
     15Mac 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.
    1616
    1717=== Pkg-config & GLib ===