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中的静态变量后析 ...
随机推荐
- linux系统使用grep命令提取文件的基名或者路径名
效果等于~]#dirname /etc/sysconfig/network-scripts/ifcfg-ens33 echo "/etc/sysconfig/network-scripts/ ...
- Http请求Response Code含义
http状态返回代码 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码.100 (继续) 请求者应当继续提出请求. 服务器返回此代码表示已收到请求的第一部分,正在等待其余部分.101 ...
- k8s-强制删除pod
kubectl get deployments --all-namespaces [root@master ~]# kubectl get deployments --all-namespacesNA ...
- CSS3实现穿墙广告效果
㈠分享一组很有趣的代码: 具体如下: <!doctype html> <html> <head> <meta charset="UTF-8" ...
- python from…import* 语句
把一个模块的所有内容全都导入到当前的命名空间也是可行的,只需使用如下声明: from modname import * 这提供了一个简单的方法来导入一个模块中的所有项目.然而这种声明不该被过多地使用. ...
- python 数据库更新操作
数据库更新操作 更新操作用于更新数据表的的数据,以下实例将 EMPLOYEE 表中的 SEX 字段为 'M' 的 AGE 字段递增 1: #!/usr/bin/python # -*- coding: ...
- Postman(一)、断言
postman常见断言方法介绍: 1.Clear a global variable (清除一个全局变量) postman.clearGlobalVariable("variable_ke ...
- Linux命令-磁盘管理(二)
Linux命令-磁盘管理(二) Linux mmount命令 Linux mmount命令用于挂入MS-DOS文件系统. mmount为mtools工具指令,可根据[mount参数]中的设置,将磁盘内 ...
- Spring Boot教程(三十)使用Spring-data-jpa(1)
在实际开发过程中,对数据库的操作无非就“增删改查”.就最为普遍的单表操作而言,除了表和字段不同外,语句都是类似的,开发人员需要写大量类似而枯燥的语句来完成业务逻辑. 为了解决这些大量枯燥的数据操作语句 ...
- Jmeter -- 入门,基础操作
1. 添加线程组 设置线程组参数(线程数.准备时长.循环次数等): a)线程数:虚拟用户数.一个虚拟用户占用一个进程或线程.设置多少虚拟用户数在这里也就是设置多少个线程数. b)Ramp-Up Per ...