如何为Mac OS X构建audacity app源代码

时间:2011-04-15 08:34:06

标签: objective-c macos audio audacity

我从中下载了audacity源代码 http://code.google.com/p/audacity/downloads/detail?name=audacity-fullsrc-1.3.13-beta.tar.bz2&can=2&q=

我必须在Mac OS X 10.6&上构建我的应用程序对于Xcode 3.2.5。

我尝试按照audacitysourceCodeFolder / mac /

中'compile.txt'文件中的步骤操作

但没有成功。

任何人都可以帮我安装这个。 因为我需要研究压缩文件的波形生成代码。

1 个答案:

答案 0 :(得分:2)

执行命令

/Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 

表示:

configure: error: pkg-config is required to compile audacity!

下载安装MacPorts:

http://www.macports.org/install.php

安装pkgconfig

sudo port install pkgconfig

再次跑:

/Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 

表示:

lib-widget-extra is required to build audacity. A copy is included in the audacity source distribution at lib-src/lib-widget-extra/.

构建并安装lib-widget-extra:

cd /Users/Anne/Desktop/audacity-src-1.3.13-beta/lib-src/lib-widget-extra 
./configure
make
sudo make install

再次跑:

/Users/Anne/Desktop/audacity-src-1.3.13-beta/configure 

表示:

configure: error: must have Ogg installed!

安装libogg

sudo port install libogg

执行命令

 /Users/Anne/Desktop/audacity-src-1.3.13-beta/configure --with-portmixer=no

构建

cd /Users/Anne/Desktop/audacity-src-1.3.13-beta/
sudo make install

有关其他信息,请检查:
http://forum.audacityteam.org/
http://forum.audacityteam.org/viewtopic.php?f=19&t=55176