在 xcode 项目中使用 LAME 编码器

发布于 2024-08-21 11:02:46 字数 121 浏览 10 评论 0原文

我的任务是在我的 Mac 程序中将 wav 转换为 mp3,我下载并编译了 LAME 编码器。我想知道如何在我的 xcode 项目中使用它?以前的第3方库都是框架的形式,但LAME只是产生一个dylib。

谢谢。

Tasked with converting wav to mp3 in my mac program, I've downloaded and compiled the LAME encoder. I was wondering how I then use it in my xcode project? Previous 3rd party libraries have been in the form of a framework, but LAME just produces a dylib.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

电影里的梦 2024-08-28 11:02:46

动态库的使用类似于框架 关于动态库的 Apple 文档

该库需要位于已知位置

在目标构建选项中设置标头和库搜索路径。要使用该库,请将其拖到 Xcode 中(这些为编译器设置 -I -L 和 -l 选项)

The use of a dynamic library is similar to a Framework Apple doc on dynamic libraries

The library will need to be in a known place

In the target build options set the header and library search paths. To use the library drag it into Xcode (These set the -I -L and -l options to the compiler)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文