linux交叉编译Windows版本的ffmpeg
主要参考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的更多相关文章
- phantomjs的使用+Java代码+依赖js(兼容Linux和windows版本)
1. 在使用phantomjs的时候需要下载phantomjs,网上有window版本和Linux版本.将phantomjs放在Linux上的指定位置之后(如下面的/home/tpl/phantom ...
- Linux gvim windows 版本配置
http://www.cnblogs.com/xiekeli/archive/2012/08/13/2637176.html 资源在我的网盘里面
- FFmpeg笔记:使用MSVC工具链编译Windows版本静态库、动态库
2019年3月开始,为了将音视频编解码功能集成到Cocos2d-x中,开始接触到FFmpeg: 当时开发环境还在Mac下,编译FFmpeg相比现在用Windows平台要方便的多: 最近,公司内部有个U ...
- Golang 在 Mac、Linux、Windows 下如何交叉编译(转)
原文地址:Golang 在 Mac.Linux.Windows 下如何交叉编译 Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下,非常好用,这里备忘一下. Mac 下 ...
- Golang 在 Mac、Linux、Windows 下交叉编译
Golang 支持在一个平台下生成另一个平台可执行程序的交叉编译功能. Mac下编译Linux, Windows平台的64位可执行程序: CGO_ENABLED= GOOS=linux GOARCH= ...
- Golang 在 Mac、Linux、Windows 下如何交叉编译
转自 https://blog.csdn.net/panshiqu/article/details/53788067 Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下 ...
- 在 Mac、Linux、Windows 下Go交叉编译
Golang 支持交叉编译,在一个平台上生成另一个平台的可执行程序,最近使用了一下,非常好用,这里备忘一下. Mac 下编译 Linux 和 Windows 64位可执行程序 CGO_ENABLED= ...
- Linux 和 Windows 查看 CUDA 和 cuDNN 版本
目录 Linux 查看 CUDA 版本 查看 cuDNN 版本 Windows 查看 CUDA 版本 查看 cuDNN 版本 References Linux 查看 CUDA 版本 方法一: nvcc ...
- 手把手教你如何安装Tensorflow(Windows和Linux两种版本)
tensorflow 不支持Python2.7,最好选择下载Python3.5 现在越来越多的人工智能和机器学习以及深度学习,强化学习出现了,然后自己也对这个产生了点兴趣,特别的进行了一点点学习,就通 ...
随机推荐
- redis为什么使用单线程 ,还那么快,单线程是怎么实现的
单线程使用队列 为什么使用单线程 https://baijiahao.baidu.com/s?id=1628498089535886382&wfr=spider&for=pc http ...
- 从HTTP request的body中拿到JSON并反序列化为一个对象
import com.google.gson.Gson; import org.apache.struts2.ServletActionContext; import javax.servlet.Se ...
- WPF C# 字符串读写文件
WPF C# 字符串读写文件 public class 字符串读写文件 { /// <summary> /// Encoding.Unicode.GetString 如果使用Encodin ...
- bcdedit删除uefi多余项
1.检查是否有多余的启动项:用管理员权限的cmd运行Bcdedit /enum firmware 2.保存现在的所有引导项Bcdedit /export savebcdsavebcd是导出的文件名 3 ...
- heike
黑客工具 hacker disassembler engine download IDApro
- 【POJ2152】Fire
题目大意:给定一棵 N 个节点的无根树,点有点权,边有边权,现需要选出一个点集,满足树上任意一个点到该点集的距离不超过该点的给定值,求选出点集点权的最小值是多少. 题解:可以发现,对于以 i 为根的子 ...
- react axios 跨域问题
周末又是补充知识点的时候了,用了react axios 跨越问题,貌似是要比vue 稍微麻烦一点 它请求http好像是没有问题的,但是https还是有跨域问题的, 我用的刚好是create-react ...
- php目录函数操作,以及使用递归
opendir 找到对应的目录 将目录中所有文件全部读入到内存(包含子文件夹下的所有文件) 将目录指针指向第一个文件 readdir 读取当前指针所指向的文件的文件名 2.将目录指针向下移动一位 ch ...
- 9 斐波那契数列Fibonacci
题目1:写一个函数,输入n,求Fibonacci数列的第n项.该数列定义如下: n=0时,f(n)=0; n=1时,f(n)=1; n>1时,f(n)=f(n-1)+f(n-2) 1. 效率差的 ...
- SpringBoot+Rocketmq
@PostConstruct:用于在依赖关系注入完成之后需要执行的方法上,以执行任何初始化.此方法必须在将类放入服务之前调用. @PreDestroy:在开发中我们如果要在关闭spring容器后释放一 ...