Changes between Version 264 and Version 265 of BuildInstructions


Ignore:
Timestamp:
Jan 19, 2015, 2:33:19 AM (9 years ago)
Author:
historic_bruno
Comment:

Revised instructions for CMake install on OS X

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v264 v265  
    270270  * '''Note:''' As of Mavericks (10.9) and Xcode 5, Apple [https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-Xcode/xc5_release_notes/xc5_release_notes.html#//apple_ref/doc/uid/TP40001051-CH2-SW302 no longer supports] llvm-gcc, instead it is required to use clang. Additionally, the default C++ library is now libc++ instead of libstdc++. If you've upgraded and previously built the game, you should pass the `--force-rebuild` flag to `build-osx-libs.sh`.
    271271  * '''Note:''' As of Alpha 16, the game uses SpiderMonkey 24, which no longer supports gcc 4.2.x including llvm-gcc previously bundled with Xcode. The game can no longer be built on OS X Leopard (10.5), and there is a !SpiderMonkey [https://bugzilla.mozilla.org/show_bug.cgi?id=862657 bug] that breaks the build on Snow Leopard (10.6) with Xcode 3.2.6.
    272   * '''Note: CMake is a required dependency.''' You can download a prebuilt OS X package [http://www.cmake.org/cmake/resources/software.html here]. If prompted, install the command line CMake tools to the default location.
     272 * Obtain CMake:
     273  * You can download a prebuilt OS X package [http://www.cmake.org/cmake/resources/software.html here].
     274  * If prompted, install the CMake command line tools to the default location.
     275  * '''Note:''' Recent versions have no installer, so after copying the app bundle to '''Applications''', you need to run the CMake UI with elevated permissions and install the command line tools manually. From the terminal:
     276    {{{
     277#!sh
     278sudo /Applications/CMake.app/Contents/MacOS/CMake
     279    }}}
     280    Then enter your password. When the CMake app opens, choose '''Tools > Install for Command Line Use > Install Command Line Links'''.
    273281 * Obtain the game's source code:
    274282  * 0 A.D. is primarily developed on SVN. To checkout the latest code from SVN, run this command: