- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想在我尝试构建的应用程序中使用 libFLAC 动态库,但我不太熟悉 configure
和 make
参数实际上让 FLAC 进行编译。
我尝试过 CC="gcc -m64"CXX="g++ -m64"./configure
并且似乎运行良好,没有问题,但是当我运行 make
,我仍然得到
[...lots of output with seemingly no errors...] /usr/bin/ranlib: archive member: .libs/libFLAC.a(bitreader_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)/usr/bin/ranlib: archive member: .libs/libFLAC.a(cpu_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)/usr/bin/ranlib: archive member: .libs/libFLAC.a(fixed_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)/usr/bin/ranlib: archive member: .libs/libFLAC.a(lpc_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)/usr/bin/ranlib: archive member: .libs/libFLAC.a(stream_encoder_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib .libs/libFLAC.aranlib: archive member: .libs/libFLAC.a(bitreader_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib: archive member: .libs/libFLAC.a(cpu_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib: archive member: .libs/libFLAC.a(fixed_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib: archive member: .libs/libFLAC.a(lpc_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib: archive member: .libs/libFLAC.a(stream_encoder_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)ranlib: for architecture: x86_64 file: .libs/libFLAC.a(float.o) has no symbols make[4]: *** [libFLAC.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
有什么建议吗?
最佳答案
要使其在 Lion 上编译,请禁用汇编器优化:
% ./configure --disable-asm-optimizations
关于makefile - 在 OS X Lion 中编译 64 位 FLAC/libFLAC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8694676/
我正在使用 libFlac将单声道文件转换为 flac。 我正在使用维基百科 wav 部分的示例文件,可以是 downloaded here example code附带的 libFlac 在文档中说
我已经在 Macintosh os x 10.6.8 下从源代码编译了 libFLAC,并成功测试了 WAV 到 FLAC 的转换(从命令行)。我还使用了默认构建: ./configure --pre
我的目的是为了测试目的解码 flac 数据。我将创建一个小 stub ,它具有一个将数据和大小作为输入参数的函数。不需要制作任何类型的输出文件,因为我只打算进行解码测试。我已经从 libflac 页面
如何使用 libFLAC++ 将 WAV 格式转换为 FLAC(编码.h 和解码.h) 最佳答案 libflac 源压缩包中有一个很好的 C++ 示例。 也可以browse it online (单个
我正在尝试使用 Adobe Alchemy 移植 FLAC 编码器以在 Flash 中使用,但无法找出问题所在。 我在 Windows 上使用 Alchemy for Cygwin。它已正确安装和
我决定用 Objective-C 和 cocoa 编写一个简单的音频转换器,但我无法将 libFlac C 库链接到我的 Xcode 项目。当我尝试这样做时,编译器说: ld: symbol(s) n
我想在我尝试构建的应用程序中使用 libFLAC 动态库,但我不太熟悉 configure 和 make 参数实际上让 FLAC 进行编译。 我尝试过 CC="gcc -m64"CXX="g++ -m
我正在尝试构建 libFLAC 以在我的项目中使用,但是在链接方面,GCC 忽略了该库,因为它说它不是为当前架构 (i386) 构建的。当我以 64 位编译程序时,它正确链接了库,这意味着该库是为 x
如何使用 libFLAC++ ( http://flac.sourceforge.net ) 将 vorbis 评论元数据,即标签(例如“TITLE”)写入现有的 FLAC 文件? 例如: const
我是一名优秀的程序员,十分优秀!