User Tools

Site Tools


cmac-nl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cmac-nl [2018/11/12 08:56] (current)
Line 1: Line 1:
 +======Compile Rocrail op een Mac OSX======
 +[[:​dutch|{{ ​ rocrail-logo-35.png}}]]
 +[[:​dutch|Inhoud]] -> [[:​dutch#​getting started|Getting Started]]
 +  * [[:​supported-os-nl|Supported Operating Systems]]
 +    * **[[mac-nl|Mac OS X]]** 
 +      *  **Build Rocrail from source** | [[mac:​build-blog-nl|Build Blog]] | [[mac:​xcode-en|Xcode]]
  
 + \\
 +=====Install and compile wxMac:=====
 + \\
 +====On Leopard with wxWidgets 2.8====
 +__Mac OS X 10.5__\\
 +Download from [ [[http://​www.wxwidgets.org/​downloads/​|SourceForge]] | [[ftp://​ftp.wxwidgets.org/​pub/​2.8.10/​|UK Mirror]] ] -> Source Archives -> wxMac.\\
 +Or if SF is not able to provide it:  {{:​mac:​wxMac-2.8.10.tar.gz}}\\
 +Uncompress it with the Archive tool.\\
 +
 +
 +Configure and build like this:
 +<​code>​
 +cd wxMac-2.8.10
 +mkdir macbuild
 +cd macbuild
 +../​configure --prefix=/​usr/​ --enable-unicode
 +make
 +sudo make install
 +</​code>​
 +
 + \\
 +====On Snow Leopard for 32 bit with wxWidgets 2.8====
 +__Mac OS X 10.6__\\
 +Check this if you want to use the stable wxWidgets 2.8 32 bit:
 +  * http://​wiki.wxwidgets.org/​Development:​_wxMac#​Building_under_10.6_Snow_Leopard
 +(Not tested by the author...)
 + \\
 +
 + \\
 +====On Snow Leopard for 64 bit with wxWidgets 2.9+====
 +__Mac OS X 10.6__\\
 +<​code>​
 +cd wxMac-2.9.0
 +mkdir macbuild
 +cd macbuild
 +../​configure --prefix=/​usr/​ --enable-unicode -with-osx_cocoa --with-macosx-version-min=10.5
 +make
 +sudo make install
 +</​code>​
 +Note: Some lines have to be modified -> http://​trac.wxwidgets.org/​ticket/​11183 in wxWidgets-2.9.0/​src/​osx/​cocoa/​textctrl.mm \\
 +
 +please replace:
 +<​code>​
 +wxWidgetImpl::​FindFromWXWidget( [self delegate] );
 +wxWidgetImpl::​FindFromWXWidget( (WXWidget) [self delegate] )
 +</​code>​
 +(Tested successfully by the author.)
 +
 + \\
 +
 +=====Get Rocrail sources=====
 +Described here: **[[build-en|Build Rocrail from Source]]**.
 +
 + \\
 +=====Compiler=====
 +The GCC compiler must be version 4.x or higher.
 +
 + \\
 +=====Build Rocrail=====
 +This requires revision 646 or higher.
 +<​code>​
 +cd Rocrail
 +make PLATFORM=MACOSX fromtar
 +./​makemac.sh
 +</​code>​
 +
 +This will build a DMG with Rocview and Rocrail inside. The DMG will end up in the folder package.\\
 + \\
 +====DMG build example====
 +<​code>​
 +makemac.sh <​version>​ <​patch>​ <​type>​ <​dist>​
 +</​code>​
 +Example: "​makemac.sh 1.3 999 snapshot intel" will build \\
 +"​rocrail-1.3.999-revXXX-snapshot-intel.dmg"​ where "​XXX"​ is the Bazaar revision number or "​user"​ if Bazaar is not installed.
cmac-nl.txt ยท Last modified: 2018/11/12 08:56 (external edit)