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 revision Previous revision
Next revision
Previous revision
cmac-en [2019/04/12 19:26]
nice2have [Mojave 10.14]
cmac-en [2020/11/27 22:02] (current)
rjversluis
Line 4: Line 4:
   * [[:​supported-os-en|Supported Operating Systems]]   * [[:​supported-os-en|Supported Operating Systems]]
     * **[[:​mac-en| macOS]]** ​     * **[[:​mac-en| macOS]]** ​
-      *  **Build Rocrail from source** ​| [[mac:​build-blog-en|Build Blog]] ​| [[mac:​xcode-en|Xcode]]+      *  **Build Rocrail from source** | [[mac:​xcode-en|Xcode]]
  
  \\  \\
Line 19: Line 19:
 \\ \\
 =====wxWidgets===== =====wxWidgets=====
-====Leopard 10.5==== 
-<​code>​ 
-cd wxWidgets 
-mkdir macbuild 
-cd macbuild 
-../​configure --prefix=/​usr/​ --enable-unicode --enable-graphics_ctx 
-make 
-sudo make install 
-</​code>​ 
- 
- 
  \\  \\
- +====Mojave/Catalina ​10.14/10.15==== 
-====Lion 10.7==== +  ​* ​The master is used instead ​of the 3.0 branch because of the Dark Theme supportThe 3.2 branch will be uses as soon as it comes available
-<​code>​ +  * https://​github.com/​wxWidgets/​wxWidgets/​blob/master/README-GIT.md
-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>​ <​code>​
 git clone --recurse-submodules https://​github.com/​wxWidgets/​wxWidgets.git git clone --recurse-submodules https://​github.com/​wxWidgets/​wxWidgets.git
 cd wxWidgets cd wxWidgets
-git checkout WX_3_0_BRANCH 
 mkdir macbuild mkdir macbuild
 cd 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+../​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 make -j 4
 sudo make install sudo make install
Line 134: Line 34:
 __If you already had a clone you must update the wxWidgets clone with:__ __If you already had a clone you must update the wxWidgets clone with:__
 <​code>​ <​code>​
-git pull+git pull --recurse-submodules
 cd macbuild cd macbuild
 make clean make clean
Line 141: Line 41:
  
  \\  \\
-====Mojave 10.14==== +====Big Sur 11.0.1==== 
-  * Xcode: Version 10.2 +===Intel CPU===
-  * 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>​ <​code>​
 git clone --recurse-submodules https://​github.com/​wxWidgets/​wxWidgets.git git clone --recurse-submodules https://​github.com/​wxWidgets/​wxWidgets.git
Line 150: Line 48:
 mkdir macbuild mkdir macbuild
 cd 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+../​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 make -j 4
 sudo make install sudo make install
 </​code>​ </​code>​
-__If you already had a clone you must update ​the wxWidgets ​clone with:__+===M1 CPU=== 
 +The same commands are used to build natively on the M1 CPU.\\ 
 + 
 + \\ 
 +=====wxFormBuilder===== 
 +{{ :​wx:​wxfb-build.png?​400}}\\ 
 +The latest wxFormBuilder Intel release, will crash under Rosetta 2.\\ 
 +wxFormBuilder can be build locally after wxWidgets ​has been build on the Mac.\\ 
 +The build does __NOT__ need any //HomeBrew Utilities// as stated in the README.md of the sources.\\ 
 + \\ 
 +The following commands will build the App:
 <​code>​ <​code>​
-git pull +git clone --recursive --depth=1 https://​github.com/​wxFormBuilder/​wxFormBuilder 
-cd macbuild +cd wxFormBuilder 
-make clean+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>​ </​code>​
 +The App is found in:
 +<​code>​wxFormBuilder/​output/​wxFormBuilder.app</​code>​
 +Depending on the underlying CPU it will be X86_64 or ARM64.\\
 + \\
 + \\
 +
 +
  
  
- \\ 
 =====Get Rocrail sources===== =====Get Rocrail sources=====
 Described here: **[[build-en|Build Rocrail from Source]]**. Described here: **[[build-en|Build Rocrail from Source]]**.
Line 172: Line 89:
 <​code>​ <​code>​
 cd Rocrail cd Rocrail
-make PLATFORM=MACOSX ​fromtar+make PLATFORM=MACOS fromtar
 ./​makemac.sh ./​makemac.sh
 </​code>​ </​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 <​dist>​ 
-</​code>​ 
-Example: "​makemac.sh mojave"​ will build \\ 
-"​rocrail-osx-XXXXX-mojave.dmg"​ where "​XXXXX"​ is the Git revision number or "​user"​ in case of offline build. 
- 
- \\ 
  
-===== Trouble shooting ===== 
-====Mouse blocks==== 
-When using an USB-RS232 converter, and the incoming data stream takes the whole bandwidth, the mouse pointer will no longer react on user movements.\\ 
-Apparently the device driver and or the OS X sub system cannot handle massive incoming data and blocks other parts. The hardware is OK because running Ubuntu on the same MAC does not suffer this problem.\\ 
cmac-en.1555089960.txt.gz · Last modified: 2019/04/12 19:26 by nice2have