Last active
July 7, 2021 03:20
-
-
Save trebled-tech/da60068699607ff85a14c9fd195cb5e5 to your computer and use it in GitHub Desktop.
Building Audacity 3.0.x on macOS 10.13.6 using Xcode 10.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# building Audacity 3.0.x | |
# environment | |
# 2011 Mac Mini, Core i5, 16GB RAM | |
# macOS 10.13.6 | |
# from previous efforts with other compile work, brew already installed | |
# pre-reqs | |
# cmake install | |
# in the case of brew, 10.13 is no longer supported, but most anything one wants can still be built from source | |
brew install --build-from-source cmake | |
#conan install | |
# a version > 1.33.0 is required, and given the age of 10.13, I figured it best to go just slightly beyond the minimum required | |
pip3 install -Iv conan==1.34 | |
# audacity source (one of the tracker-free, reporting-free forks) | |
git clone https://github.com/cookiengineer/audacity.git | |
cd audacity | |
mkdir build | |
cd build | |
# cmake compile | |
# for reasons unclear, the linker wanted to link to JACK, but I have no headers for JACK, so the Xcode project was failing in one of the last build stages, so I figured out how to remove the dependency | |
cmake -GXcode -Daudacity_use_pa_jack=off -T buildsystem=1 -j 4 .. | |
# Xcode build (using Xcode 10.1, which is one of the final versions targeting 10.13) | |
# launch Xcode, then open $GIT_HOME/audacity/build/Audacity.xcodeproj ($GIT_HOME is wherever you keep your git repos, the parent where you ran the ‘git clone’ command) | |
# in Xcode UI, click the ‘Play’ button | |
# if all goes well, wait a while, and then the built Audacity will launch all by itself once completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment