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 现在越来越多的人工智能和机器学习以及深度学习,强化学习出现了,然后自己也对这个产生了点兴趣,特别的进行了一点点学习,就通 ...
随机推荐
- vim学习(三)之命令
参考 Linux vi/vim vim常用命令总结
- Jquery复习(六)之remove()易忘点和trigger()
过滤被删除的元素 jQuery remove() 方法也可接受一个参数,允许您对被删元素进行过滤. 该参数可以是任何 jQuery 选择器的语法. 下面的例子删除 class="italic ...
- [转载]Oracle之单引号与双引号
一.单引号 1.引用一个字符串常量,也就是界定一个字符串的开始和结束 select * from t_sys_user where id='15'; --查询id为15的字符 select * fro ...
- mybatis一对多关联关系映射
mybatis一对多关联关系映射 一对多关联关系只需要在多的一方引入少的一方的主键作为外键即可.在实体类中就是反过来,在少的一方添加多的一方,声明一个List 属性名 作为少的一方的属性. 用户和订单 ...
- 使用elasticdump导入导出数据
一.安装elasticdump 终端中输入 npm install elasticdump -g -g表示全局可用,直接在终端输入 elasticdump --version,出现版本信息即表示安装成 ...
- git 计算commit
转自:https://www.cnblogs.com/jwentest/p/8186712.html#!/bin/bash f1="$1*" f2="$2*" ...
- Delphi 常用系统函数与过程
- Linux-定时任务排查
前段时间,哥们的服务器被人反弹了shell,由于反弹的地址不可达,系统总是会发送一条mail邮件到root账户,导致入侵行为被发现,由于反弹的动作是通过crontab来定时执行的,所以来梳理下cron ...
- [DllImport("kernel32.dll")]使用
C#中读取ini配置文件 [DllImport("kernel32.dll")] using System;using System.Collections.Generic;usi ...
- [工具]Hydra-爆破
语法 hydra [[[-l LOGIN | -L FILE] [-p PASS | -P FILE]] | [-C ...