User Tools

Site Tools


cmac-en

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cmac-en [2020/11/27 18:51] – [Big Sur 11.0.1] rjversluiscmac-en [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-======Compile Rocrail on Apple macOS====== 
-[[:english|{{  rocrail-logo-35.png}}]] 
-[[:english|Content]] -> [[:english#getting started|Getting Started]] 
-  * [[:supported-os-en|Supported Operating Systems]] 
-    * **[[:mac-en| macOS]]**  
-      *  **Build Rocrail from source** | [[mac:xcode-en|Xcode]] 
- 
- \\ 
- 
-===== Compiler & Tools ===== 
-{{ :mac:xcode-cmdlinetools.png?300}}{{ :mac:xcode-cmdlinetools-web.png?300}} 
-From the macOS DVD install the optional Xcode package: 
-  * Xcode; make, gcc, … 
-Or download/update it from: 
-  * http://developer.apple.com/ 
- \\ 
- 
- 
-\\ 
-=====wxWidgets===== 
-====Leopard 10.5==== 
-<code> 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --prefix=/usr/ --enable-unicode --enable-graphics_ctx 
-make 
-sudo make install 
-</code> 
- 
- 
- \\ 
- 
-====Lion 10.7==== 
-<code> 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk --with-macosx-version-min=10.6 --enable-graphics_ctx --enable-monolithic 
-make 
-sudo make install 
-</code> 
- 
- \\ 
- 
-====Mountain Lion 10.8==== 
-<code> 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk --with-macosx-version-min=10.6 --enable-graphics_ctx --enable-monolithic --enable-compat28 
-make 
-sudo make install 
-</code> 
- 
- \\ 
- 
-====Mavericks 10.9 & Yosemite 10.10==== 
-The command line tools are part of the standard Xcode installation.\\ 
-===Xcode 6=== 
-Starting with Xcode 6 the SDK number is 10.9.\\  
-<code> 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk --with-macosx-version-min=10.6 --enable-graphics_ctx --enable-monolithic --enable-compat28 
-make 
-sudo make install 
-</code> 
- 
- 
-===Xcode 7=== 
-Starting with Xcode 7 the SDK number is 10.11.\\  
-<code> 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk --with-macosx-version-min=10.10 --enable-graphics_ctx --enable-monolithic --enable-compat28 
-make 
-sudo make install 
-</code> 
- \\ 
- 
-====El Capitan 10.11==== 
-  * Xcode: Version 7.1 (7B91b) 
-<code> 
-git clone https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-git checkout WX_3_0_BRANCH 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk --with-macosx-version-min=10.11 --enable-graphics_ctx --enable-monolithic --enable-compat28 
-make -j 4 
-sudo make install 
-</code> 
- 
- \\ 
-====Sierra 10.12==== 
-  * Xcode: Version 8.0 
-<code> 
-git clone https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-git checkout WX_3_0_BRANCH 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk --with-macosx-version-min=10.12 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl 
-make -j 4 
-sudo make install 
-</code> 
-__If you already had a clone you must update the wxWidgets clone with:__ 
-<code> 
-git pull 
-</code> 
- 
-===Alternative configure for wxWidgets with Xcode 8=== 
-If the **MacOSX10.12.sdk** is not installed under Xcode 8, try this configuration: 
-<code> 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=10.12 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl 
-</code> 
- 
- \\ 
-====High Sierra 10.13==== 
-  * Xcode: Version 9.1 
-<code> 
-git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-git checkout WX_3_0_BRANCH 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=10.13 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl 
-make -j 4 
-sudo make install 
-</code> 
-__If you already had a clone you must update the wxWidgets clone with:__ 
-<code> 
-git pull 
-cd macbuild 
-make clean 
-</code> 
- 
- 
- \\ 
-====Mojave/Catalina 10.14/10.15==== 
-  * The master is used instead of the 3.0 branch because of the Dark Theme support. The 3.2 branch will be uses as soon as it comes available. 
-  * https://github.com/wxWidgets/wxWidgets/blob/master/README-GIT.md 
-<code> 
-git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=10.14 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl --disable-shared 
-make -j 4 
-sudo make install 
-</code> 
-__If you already had a clone you must update the wxWidgets clone with:__ 
-<code> 
-git pull --recurse-submodules 
-cd macbuild 
-make clean 
-</code> 
- 
- 
- \\ 
-====Big Sur 11.0.1==== 
-===Intel CPU=== 
-<code> 
-git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=11.00 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl --disable-shared 
-make -j 4 
-sudo make install 
-</code> 
-===M1 CPU=== 
-The same commands are used to build natively on the M1 CPU.\\ 
-===wxFormBuilder=== 
-<code> 
-git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder 
-cd wxFormBuilder 
-export CPLUS_INCLUDE_PATH=/usr/local/include/wx-3.1 
-./create_build_files4.sh --disable-shared --disable-mediactrl 
-cd build/3.1/gmake 
-make config=release 
-</code> 
-The App is found in ''wxFormBuilder/output/wxFormBuilder.app'' \\ 
- 
- \\ 
- \\ 
- 
- 
- 
- 
-=====Get Rocrail sources===== 
-Described here: **[[build-en|Build Rocrail from Source]]**. 
- 
- \\ 
- 
- 
-=====Build Rocrail===== 
-<code> 
-cd Rocrail 
-make PLATFORM=MACOS fromtar 
-./makemac.sh 
-</code> 
- 
  
cmac-en.1606499507.txt.gz · Last modified: 2020/11/27 18:51 by rjversluis