ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/projects/README-Mac.txt
(Generate patch)

Comparing AE/Installer/trunk/projects/README-Mac.txt (file contents):
Revision 386 by iritscen, Mon Jul 6 01:59:57 2009 UTC vs.
Revision 513 by iritscen, Sun Apr 25 12:23:40 2010 UTC

# Line 1 | Line 1
1   == Building the AE Installer for the Macintosh ==
2 < last updated June.06.2009
2 > last updated April.25.2010
3   by Iritscen (iritscen@oni2.net)
4  
5   Requirements: An Intel Macintosh computer, preferably with Mac OS X 10.5 or higher, and an administrator password. Mono must be installed to run the built product.
6  
7 Note: At the moment, the project is still in flux. I am planning to eventually set up the project to build a Universal application, not an Intel-only one. However, such a project may still require an Intel Mac to build the Installer.
8
7   1. Preparing to build the Installer.
8     A. Install the Developer Tools.
9        If you have not installed OS X's Developer Tools, do so now. You can find the optional install on an OS X install disc, or your computer's system recovery disc. The Tools can also be downloaded from http://developer.apple.com after registering a free account.  The project file on this repository was made with Xcode 3.x, which requires OS X 10.5.
# Line 23 | Line 21 | Note: At the moment, the project is stil
21        Go to http://www.wxwidgets.org/downloads/. Look for a link for wxMac and download the file. Extract it and navigate in the Terminal to the base directory. Issue these commands:
22   1.    mkdir build-dynamic-universal
23   2.    cd build-dynamic-universal
24 < 3.    ../configure --with-opengl --enable-universal_binary --with-macosx-version-min=10.3.9 --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin
24 > 3.    ../configure CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0 --with-opengl --enable-universal_binary --with-macosx-version-min=10.4 --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin
25   4.    sudo make
26        After all above commands have finished, check in build-dynamic-universal/lib/ for files that start with "libwx_mac" to ensure the build was successful.
27  
28     D. Download and build libiconv.
29        The libiconv project is at http://www.gnu.org/software/libiconv/. From the expanded folder's directory, use the commands:
30   1.    mkdir build-static-universal
31 < 2.    ./configure --enable-static --prefix=/Users/mloudon/Programming/Third-Party/Development/libiconv-1.13/build-static-universal CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" CPP="gcc -E" CXXCPP="g++ -E"
31 > 2.    ./configure --enable-static --prefix=[full path to build-static-universal] CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" CPP="gcc -E" CXXCPP="g++ -E"
32   3.    sudo make
33   4.    make install
34  
# Line 40 | Line 38 | Note: At the moment, the project is stil
38  
39   3. Building the Installer.
40     If you are able to use the included .xcodeproj file, then you will need to change the directory in which the build takes place. Get info on the project and change the settings "Per-configuration Build Products Path" and "Installation Directory" to point to the folders of your choosing.
41 <   Once built, Installer.app must be moved to the edition/install/ folder inside your Oni installation, alongside the packages/ folder and OniSplit.exe, in order to work.
41 >   The next thing you need to do before building is update the path strings in fix_dylibs.sh to reflect the locations of your project files and supporting libraries.
42 >   Once built, Installer.app must be moved to the Edition/install/ folder inside your Oni installation, alongside the packages/ folder and OniSplit.exe, in order to work.

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)