主要参考http://www.cnblogs.com/haibindev/archive/2011/12/01/2270126.html

在我的机器上编译libfaac的时候 出现问题了 输出如下

../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x1e7): undefined reference to `MaxBitrate'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x60d): undefined reference to `GetSRIndex'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x795): undefined reference to `GetMaxPredSfb'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x7fe): undefined reference to `fft_initialize'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x912): undefined reference to `fft_terminate'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0xaac): undefined reference to `GetChannelInfo'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x138f): undefined reference to `MSEncode'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x14f6): undefined reference to `MSReconstruct'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x1637): undefined reference to `MSEncode'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x164b): undefined reference to `MSReconstruct'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x189f): undefined reference to `MSEncode'
../libfaac/.libs/libfaac.a(frame.o):frame.c:(.text+0x18bb): undefined reference to `MSReconstruct'
../libfaac/.libs/libfaac.a(psychkni.o):psychkni.c:(.text+0x4f9): undefined reference to `rfft'
../libfaac/.libs/libfaac.a(filtbank.o):filtbank.c:(.text+0x342): undefined reference to `fft'
../libfaac/.libs/libfaac.a(filtbank.o):filtbank.c:(.text+0x45e): undefined reference to `fft'
../libfaac/.libs/libfaac.a(filtbank.o):filtbank.c:(.text+0x6b0): undefined reference to `ffti'
../libfaac/.libs/libfaac.a(filtbank.o):filtbank.c:(.text+0x74e): undefined reference to `ffti'

这个是因为原文漏掉一步 原文直接

./configure --host=i686-w64-mingw32 --prefix=/home/haibindev/opensdk --enable-static --disable-shared --with-mp4v2=no

实际上需要在libfaac的目录先运行./bootstrap

这时候如果提示有什么东西没有发现的话 就用sudo apt-get install 安装一下,然后make clean

接着运行上面的configure就能正常 make了

linux交叉编译Windows版本的ffmpeg的更多相关文章

  1. phantomjs的使用+Java代码+依赖js(兼容Linux和windows版本)

    1.  在使用phantomjs的时候需要下载phantomjs,网上有window版本和Linux版本.将phantomjs放在Linux上的指定位置之后(如下面的/home/tpl/phantom ...

  2. Linux gvim windows 版本配置

    http://www.cnblogs.com/xiekeli/archive/2012/08/13/2637176.html 资源在我的网盘里面

  3. FFmpeg笔记:使用MSVC工具链编译Windows版本静态库、动态库

    2019年3月开始,为了将音视频编解码功能集成到Cocos2d-x中,开始接触到FFmpeg: 当时开发环境还在Mac下,编译FFmpeg相比现在用Windows平台要方便的多: 最近,公司内部有个U ...

  4. Golang 在 Mac、Linux、Windows 下如何交叉编译(转)

    原文地址:Golang 在 Mac.Linux.Windows 下如何交叉编译 Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下,非常好用,这里备忘一下. Mac 下 ...

  5. Golang 在 Mac、Linux、Windows 下交叉编译

    Golang 支持在一个平台下生成另一个平台可执行程序的交叉编译功能. Mac下编译Linux, Windows平台的64位可执行程序: CGO_ENABLED= GOOS=linux GOARCH= ...

  6. Golang 在 Mac、Linux、Windows 下如何交叉编译

    转自 https://blog.csdn.net/panshiqu/article/details/53788067 Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下 ...

  7. 在 Mac、Linux、Windows 下Go交叉编译

    Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下,非常好用,这里备忘一下. Mac 下编译 Linux 和 Windows 64位可执行程序 CGO_ENABLED= ...

  8. Linux 和 Windows 查看 CUDA 和 cuDNN 版本

    目录 Linux 查看 CUDA 版本 查看 cuDNN 版本 Windows 查看 CUDA 版本 查看 cuDNN 版本 References Linux 查看 CUDA 版本 方法一: nvcc ...

  9. 手把手教你如何安装Tensorflow(Windows和Linux两种版本)

    tensorflow 不支持Python2.7,最好选择下载Python3.5 现在越来越多的人工智能和机器学习以及深度学习,强化学习出现了,然后自己也对这个产生了点兴趣,特别的进行了一点点学习,就通 ...

随机推荐

  1. Codeforces 1209F. Koala and Notebook

    传送门 考虑到达某个点时的数长度要尽量短,那么可以把边长看成此边十进制下的位数 那么对于最终答案我们只要考虑最短路 $DAG$ 上的情况 又发现其实边长都很小,所以可以暴力拆边,把边权都拆成 $1$, ...

  2. 剑指offer-字符串的排列-数组-递归-动态规划-python

    题目描述 输入一个字符串,按字典序打印出该字符串中字符的所有排列.例如输入字符串abc,则打印出由字符a,b,c所能排列出来的所有字符串abc,acb,bac,bca,cab和cba. 输入描述: 输 ...

  3. ES使用text类型字段排序报错

    elasticsearch text字段排序报错解决使用elasticsearch 进行排序的时候,我们一般都会排序数字.日期.但是在排序text类型的时候就会出现错误. GET xytest/sut ...

  4. webstorm 如何去掉下划线

    当前webstorm版本:2018.3.5 百度了也没找到解决办法,最终结合了和群友的给的位置,找到了修改地方,只能怪版本迭代太快了,要适应 右上角Effects点掉就可以了

  5. linux 配置环境变量三种方式

    一:用于当前终端: export PATH=$PATH:<你的要加入的路径> 此方式仅用于当前终端,一旦该终端关闭,则配置失效 二:用于当前用户: vi ~/.bashrc 然后加入:ex ...

  6. leetcode34. 在排序数组中查找元素的第一个和最后一个位置

    给定一个按照升序排列的整数数组 nums,和一个目标值 target.找出给定目标值在数组中的开始位置和结束位置. 你的算法时间复杂度必须是 O(log n) 级别. 如果数组中不存在目标值,返回 [ ...

  7. Linux往log中写日志

    void writelog(const char* log) { time_t tDate; struct tm* eventTime; time(&tDate);//得到系统当前时间 //将 ...

  8. [转载]克服FPGA I/O引脚分配挑战--xilinx系列

    转载走,放到自己的分类中好了 原文地址:I/O引脚分配挑战--xilinx系列">克服FPGA I/O引脚分配挑战--xilinx系列作者:方槍槍 http://www.eefocus ...

  9. python-文件操作3(读写文件的详细操作)

    f=open('my-heart','r') print(f.encoding)#返回字符编码 print(f.fileno())#返回操作系统的端口编号 print(f.seekable())#是否 ...

  10. mysql占用磁盘IO过高的解决办法

    一.现象 最近发现Mysql服务器磁盘IO一直很高 [root@push-- ~]# iostat -k -d -x Linux -.el7.x86_64 (push--) 2019年07月05日 _ ...