1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00
audacity/mac/Build.txt

53 lines
1.6 KiB
Plaintext

At this time, the newest SDK version that Audacity can build with
is 10.6. To build Audacity using Xcode 5.1 or newer, you need
to extract the 10.6 SDK from an earlier version of Xcode.
In the instructions below, Xcode 4.3.3 (for the 10.6 SDK) and
Xcode 5.1.1 will be used. Xcode 6.1.1 and 6.3 have been verified
to work as well.
1) Download Xcode 5.1.1 or greater and install it to /Applications
2) Download Xcode 4.3.3 and open it in Finder
3) Right click the "Xcode.app" bundle and select "Show Package Contents"
4) Navigate down the directories to get to:
Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
5) Copy the MacOSX10.6.sdk folder to:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
Xcode is now ready.
You must now build wxWidgets. We currently require version 3.0.2, do download it from:
http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2
Once downloaded untar it (your browser may have already done this):
tar xf wxWidgets-3.0.2.tar.bz2
And build/install it:
cd wxWidgets-3.0.2
sudo <path to Audacity source>/mac/build_wxwidgets
You should now be able to build Audacity using either the Xcode application or the
xcodebuild command line tool.
If you need Audacity to use languages other than English, then you'll have to install
the gettext suite of tools (to get the msgfmt command). The source can be downloaded
from:
ftp://ftp.gnu.org/gnu/gettext/gettext-latest.tar.gz
Untar it:
tar xf gettext-latest.tar.gz
And install:
cd gexttext-latest
./configure
sudo make install