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 的终端 Terminal
打开终端: 方式一:在全部应用中搜索Terminal 方式二:Ctrl+Alt+T 快捷方式打开终端 终端指令查询 如果忘记终端指令而只记得前几位可以只输入前几个字母后按Tab键查询 终端清屏 键入c ...
- CISCO SMARTnet服务和SMB服务技术支持
点击官网:SMB Support Assistant技术支持服务 点击官网:思科SMARTnet快速维护及快速维护现场服务 一.SMARTnet服务 1.1 标准SMARTnet 服务级别:5*8*N ...
- jQuery和Prototype的兼容性和冲突的多种解决方法
有两种情况: 1.先加载Prototype,再加载jQuery. 2.先加载jQuery,再加载Prototype. 针对情况1:先加载Prototype,再加载jQuery.方法一:jQuery 库 ...
- Office365 PowerShell打开邮箱审计功能
最近总公司要求Office365需要在所有的邮箱上面打开审计功能.这个功能没法通过图形界面操作,只能通过powershell脚本实现. 微软提供了一个官方的脚本,不过里面有个小bug https:// ...
- linux ngxtop安装安装及使用
写在前面: ngxtop是Nginx日志实时分析利器 1.下载 下载地址:https://github.com/lebinh/ngxtop 下载zip文件到本地 登录linux服务器,定位到安装目录 ...
- SQL Server自动备份
1.打开SQL Server Management Studio 数据库-管理-维护计划,右键,维护计划向导 2.在弹出页面右下方点击[更改],修改计划执行方案 根据需要,修改执行时间 3.修改完毕后 ...
- Java中SSM+Shiro系统登录验证码的实现方法
1.验证码生成类: import java.util.Random; import java.awt.image.BufferedImage; import java.awt.Graphics; im ...
- 静态库lib、动态库dll基础
首先从hello world!开始 //main.cpp文件 void cpu(); int main() { put(); ; } 在main.cpp中定义了一个cpu():函数,但没有实现其功能, ...
- Python中的不可变对象类型与可变对象类型
https://blog.csdn.net/answer3lin/article/details/86430074 其实各个标准资料中没有说明Python有值类型和引用类型的分类,这个分类一般是C++ ...
- apply,call,bind函数作用与用法
作用 可以把方法借给其它对象使用,并且改变this的指向 a.apply(b,[3,2]);//this指向由a变为b, a的方法借给b使用 实例: function add(a,b){ ...