mingw gcc 静态 static 编译 dav1d libdav1d.a
export CC=/mingw/bin/gcc
export CXX=/mingw/bin/g++
meson --prefix "/usr/local" build --buildtype release --default-library static
ninja -C build
ninja -C build install
32位版本 编译好的下载地址 dav1d-0.3.1-20190614-a1e3f358-dev.7z
链接: https://pan.baidu.com/s/1lKtbPg5l8JwPIIstlI2Nug 提取码: hr73
----------------------------------------------------------------------------------------------------------
/build/libs/dav1d--a1e3f358
$ meson --prefix "/usr/local" build --buildtype release --default-library static
The Meson build system
Version: 0.50.
Source dir: D:\MSYS\build\libs\dav1d--a1e3f358
Build dir: D:\MSYS\build\libs\dav1d--a1e3f358\build
Build type: native build
Project name: dav1d
Project version: 0.3.
Appending CFLAGS from environment: '-ID:/MSYS/local/include'
Appending LDFLAGS from environment: '-LD:/MSYS/local/lib'
Appending CPPFLAGS from environment: '-ID:/MSYS/local/include'
Native C compiler: d:/msys/mingw/bin/gcc (gcc 8.1. "gcc (i686-posix-sjlj-rev0, Built by MinGW-W64 project) 8.1.0")
Build machine cpu family: x86
Build machine cpu: x86
Checking for function "fseeko" : YES
Check usable header "stdatomic.h" : YES
Check usable header "unistd.h" : YES
Check usable header "io.h" : YES
Checking for function "getopt_long" : YES
Checking for function "posix_memalign" : NO
Checking for function "_aligned_malloc" : YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -Wno-maybe-uninitialized -Wmaybe-uninitialized: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Wshorten--to-: NO
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -mfpmath=sse: YES
Compiler for C supports arguments -fomit-frame-pointer: YES
Compiler for C supports arguments -ffast-math: YES
Compiler for C supports arguments -mpreferred-stack-boundary=: YES
Configuring config.h using configuration
Configuring config.asm using configuration
Program nasm found: YES (D:\MSYS\opt\bin\nasm.EXE)
Configuring version.h using configuration Configuring Doxyfile using configuration
Library m found: YES
Program objcopy found: YES (d:\msys\mingw\bin\objcopy.EXE)
Checking for function "posix_memalign" : NO
Build targets in project:
Found ninja-1.9. at 'D:\MSYS\opt\meson\ninja.EXE' /build/libs/dav1d--a1e3f358
$ ninja -C build
ninja: Entering directory `build'
[/] Linking target tools/dav1d.exe. /build/libs/dav1d--a1e3f358
$ ninja -C build install
ninja: Entering directory `build'
[/] Installing files.
Installing src\libdav1d.a to D:/MSYS/local\lib
Installing tools\dav1d.exe to D:/MSYS/local\bin
Installing D:\MSYS\build\libs\dav1d--a1e3f358\include\dav1d\common.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\include\dav1d\data.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\include\dav1d\dav1d.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\include\dav1d\headers.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\include\dav1d\picture.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\build\include\dav1d\version.h to D:/MSYS/local\include\dav1d
Installing D:\MSYS\build\libs\dav1d--a1e3f358\build\meson-private\dav1d.pc to D:/MSYS/local\lib\pkgconfig
----------------------------------------------------------------------------------------------------------
mingw gcc 静态 static 编译 dav1d libdav1d.a的更多相关文章
- mingw32环境上静态编译 dav1d 0.4.0
2019-08-05 发布 dav1d 0.4.0 dav1d 'Cheetah', the fast and small AV1 decoder This is the fourth major r ...
- windows MinGW gcc 编译乱码问题
问题描述 一般很多编辑器默认都是保存成utf-8文件,然而在输出中文的时候出现了乱码?另外试了其他方法,有的乱码,有的不乱? MinGW gcc 编译 utf-8 文件的时候乱码 MinGW gcc ...
- 用C写一个web服务器(三) Linux下用GCC进行项目编译
.container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px } .conta ...
- QT 4.8 静态库编译方法
最最初踏上QT之路是受到了XiaomaGee的指点,相比于常规的窗口程序开发,QT有着以下特点: 1. 优良的跨平台特性(支持Win.Linux.Mac 不同的平台下只需重新编译即可使用) 2. 面向 ...
- [转]QT 4.8 静态库编译方法
最最初踏上QT之路是受到了XiaomaGee的指点,相比于常规的窗口程序开发,QT有着以下特点: 1. 优良的跨平台特性(支持Win.Linux.Mac 不同的平台下只需重新编译即可使用) 2. 面向 ...
- MinGW GCC下sleep()函数问题
在MinGW GCC下编译带sleep()函数的测试程序,不管是包含了unistd.h头文件,还是stdio.h.stdlib.h头文件,就是找不到该函数的定义!在linux下,sleep()函数的头 ...
- MinGW gcc 生成动态链接库 dll 的一些问题汇总 (补充)
我以前写过一个小短文,介绍MinGW gcc 生成动态链接库 dll 的一些问题.当时写的并不全面.近期又遇到写新的问题.这里记录一下,做个补充. 通常情况下,dll 中的函数假设採用 _stdcal ...
- Android - JNI静态(static)载入OpenCV
JNI静态(static)载入OpenCV 本文地址: http://blog.csdn.net/caroline_wendy 步骤: 1. 准备OpenCV-Android库 复制OpenCV的sd ...
- VC和GCC静态变量析构顺序不同
VC和GCC静态变量析构顺序不同(金庆的专栏)静态变量析构顺序正常情况下是构造的反序.但是VC对DLL中的静态变量好像是需等待DLL卸载时再析构,表现为主程序中的静态变量先析构,DLL中的静态变量后析 ...
随机推荐
- jQuery和Prototype的兼容性和冲突的多种解决方法
有两种情况: 1.先加载Prototype,再加载jQuery. 2.先加载jQuery,再加载Prototype. 针对情况1:先加载Prototype,再加载jQuery.方法一:jQuery 库 ...
- mysql语句修改zencart产品原价为特价的倍数
mysql语句修改zencart产品原价为特价的倍数,下面语句将原价设为特价的3倍: ; ;
- mysql 调优 来自5.6版本官方手册
注意:下面示例中的key1和key2代表两个索引,key_part1和key_part2代表一个复合索引的第一列和第二列.non_key代表非索引列. 优化SQL语句 where语句优化: mysql ...
- hdu3586 Information Disturbing[二分答案+树形DP]
给定 n 个节点的树,边有权值.1 号点是根,除了 1 号点外的度数为 1 的节点是叶子.要求切断所有叶子和 1 号点之间的联系,切断一条边要花费这条边上权值对应的代价,要求总的代价不超过 m.在满足 ...
- 优秀.NET界面控件DevExpress v19.1.6全新来袭!新改进抢“鲜”看
DevExpress Universal Subscription(又名DevExpress宇宙版或DXperience Universal Suite)是全球使用广泛的.NET用户界面控件套包,De ...
- puppet使用rsync模块同步目录和文件
puppet使用rsync模块同步目录和文件 2013-09-23 14:28:57 分类: LINUX 环境说明: OS : CentOS5.4 ...
- C# 常用方法——图片转base64字符串
其他扩展方法详见:https://www.cnblogs.com/zhuanjiao/p/12060937.html /// <summary> /// Image 转成 base64 / ...
- QT:在其他窗口中显示QMainWindow
问题:在QFrame中嵌入QMainWindow窗口,却无法显示QMainWindow窗口,调用QMainWindow的show()却能出现单独弹出一个QMainWindow窗口. 解决: 由于QMa ...
- CSS3 阴影与圆角边框
㈠css3的新特性实际应用 ⑴文本阴影效果,用代码编写的方式实现 ⑵鼠标悬停的动态效果 左侧三幅图片,上面初始状态是没有说明文本的,但把鼠标放在上面的时候,这个图片上面就出现了说明文字 ⑶分栏 ...
- echarts 图形图例文字太长如何解决
文章来源: https://blog.csdn.net/csm17805987903/article/details/85111835 legend 文字很多的时候对文字做裁剪并且开启 tooltip ...