Changes between Version 2 and Version 3 of MacOSXCompilationGuide
- Timestamp:
- 03/11/2012 01:02:12 AM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacOSXCompilationGuide
v2 v3 11 11 Starting with Lion 10.7, Xcode is available for free from the Mac App Store and is required to compile anything on your Mac. Make sure you install the Command Line Tools from Preferences > Downloads > Components. Older versions are still available with an AppleID and free Developer account at [http://developer.apple.com developer.apple.com] 12 12 13 === Freetype === 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 13 16 14 17 === Pkg-config & GLibC === … … 21 24 === Yasm === 22 25 26 Yasm is available from [http://yasm.tortall.net/Download.html Tortall.net] and is necessary for compiling C code that contains machine-independent Assembler code. To compile, run {{{./configure --enable-python;make && sudo make install}}} 23 27 24 28 == Additional libraries == … … 28 32 === Faac === 29 33 30 === F reetype===34 === Faad === 31 35 36 === GD (& PNG, TIFF) === 32 37 33 38 === Lame (MP3) === … … 48 53 49 54 Schroedinger, which adds Dirac codec support, is available from [http://diracvideo.org/ DiracVideo.org]. To compile schroedinger, you need ORC, available from [http://code.entropywave.com/download/orc/ EntropyWave.com]. Compile orc with the standard procedure, making sure you delete the "testsuite" folder, which won't compile. When compiling schroedinger, make sure pkg-config and yasm are already compiled. 50 51 55 52 56 === SDL ===


