cmac-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cmac-en [2022/10/25 08:27] – [Ventura 13] rjversluis | cmac-en [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Compile Rocrail on Apple macOS====== | ||
- | [[: | ||
- | [[: | ||
- | |||
- | \\ | ||
- | |||
- | ===== Compiler & Tools ===== | ||
- | Xcode must be installed, and can be downloaded from the **App Store**.\\ | ||
- | \\ | ||
- | |||
- | |||
- | \\ | ||
- | =====wxWidgets===== | ||
- | \\ | ||
- | ====Mojave/ | ||
- | * 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. | ||
- | < | ||
- | git clone --recurse-submodules https:// | ||
- | cd wxWidgets | ||
- | git checkout v3.1.6 | ||
- | mkdir macbuild | ||
- | cd macbuild | ||
- | ../ | ||
- | make -j 4 | ||
- | sudo make install | ||
- | </ | ||
- | |||
- | |||
- | \\ | ||
- | ====BigSur 11 / Monterey 12==== | ||
- | ===Intel & M1 CPU=== | ||
- | < | ||
- | git clone --recurse-submodules https:// | ||
- | cd wxWidgets | ||
- | git checkout v3.1.6 | ||
- | mkdir macbuild | ||
- | cd macbuild | ||
- | ../ | ||
- | make -j8 | ||
- | sudo make install | ||
- | </ | ||
- | |||
- | ===Update Source=== | ||
- | < | ||
- | cd wxWidgets | ||
- | git checkout master | ||
- | git pull | ||
- | git submodule update | ||
- | git checkout v3.1.6 | ||
- | </ | ||
- | |||
- | |||
- | \\ | ||
- | ====Ventura 13==== | ||
- | ===Build=== | ||
- | See [[# | ||
- | |||
- | ===Command Line Tools=== | ||
- | If this error occurs: | ||
- | <code bash> | ||
- | xcrun: error: invalid active developer path (/ | ||
- | </ | ||
- | open the Xcode Preferences -> Locations Tab select the version:\\ | ||
- | {{: | ||
- | |||
- | |||
- | |||
- | |||
- | \\ | ||
- | |||
- | =====wxFormBuilder===== | ||
- | {{ : | ||
- | 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: | ||
- | < | ||
- | git clone --recursive --depth=1 https:// | ||
- | cd wxFormBuilder | ||
- | export CPLUS_INCLUDE_PATH=/ | ||
- | ./ | ||
- | cd build/ | ||
- | make -j8 config=release | ||
- | </ | ||
- | //Ignore the errors at the end of the build process.// \\ | ||
- | \\ | ||
- | The App is found in: | ||
- | < | ||
- | Depending on the underlying CPU it will be X86_64 or ARM64.\\ | ||
- | \\ | ||
- | \\ | ||
- | |||
- | |||
- | |||
- | |||
- | =====Get Rocrail sources===== | ||
- | Described here: **[[build-en|Build Rocrail from Source]]**. | ||
- | |||
- | \\ | ||
- | |||
- | |||
- | =====Build Rocrail===== | ||
- | < | ||
- | cd Rocrail | ||
- | make -j8 PLATFORM=MACOS ORIGIN=LOCAL fromtar | ||
- | ./ | ||
- | </ | ||
- | |||
- | |||
- | \\ | ||
- | =====Leopard===== | ||
- | To be able to compile the Rocrail sources the CC_FLAGS in all makefile' | ||
- | < | ||
- | # --- compile flags --- | ||
- | CC_FLAGS=-c -std=c99 $(CC_EXTRA_FLAGS) $(DEBUG) $(OPENSSL) -I$(SRCMOUNTPOINT) -I$(GENMOUNTPOINT) | ||
- | </ | ||
- | |||