【问题标题】:How to build audacity app source code for Mac OS X如何为 Mac OS X 构建 Audacity 应用程序源代码
【发布时间】:2011-04-15 08:34:06
【问题描述】:

我从以下网站下载了 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”文件中的步骤进行操作

但没有成功。

谁能帮我安装这个。 因为我需要研究压缩文件的波形生成代码。

【问题讨论】:

标签: objective-c macos audio audacity


【解决方案1】:

运行:

/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

【讨论】:

  • 当我执行最后一步时,cd /Users/Anne/Desktop/audacity-src-1.3.13-beta/ make ,然后我得到 make: *** No targets specified and no makefile found .停止。
  • 像这样为configure 提供前缀:/Users/Anne/Desktop/audacity-src-1.3.13-beta/configure --with-portmixer=no prefix=/Users/Anne/Desktop/build/
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-01-16
  • 1970-01-01
  • 2011-11-07
  • 2016-01-04
相关资源
最近更新 更多