mingw32环境上静态编译 dav1d 0.4.0
2019-08-05 发布 dav1d 0.4.0
dav1d 0.4. 'Cheetah', the fast and small AV1 decoder
This is the fourth major release of dav1d, the fast and small AV1 decoder, codename 'Cheetah'.
It supports all the AV1 features and all bitdepths. 0.4. brings large improvements in speed on ARM64 (up to % speedup) and minor improvements on SSE and ARM.
It also improves the RAM usage quite significantly, sometimes more than halving the RAM used. mingw32环境上静态编译 dav1d 0.4. 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 如果出现一下错误
Linking target tools/dav1dplay.exe.
FAILED: tools/dav1dplay.exe
d:/msys/mingw/bin/gcc @tools/dav1dplay.exe.rsp
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x5dc): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x619): undefined reference to `ImmSetCompositionWindow@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x631): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x788): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x7a8): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x88b): undefined reference to `ImmAssociateContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x8fe): undefined reference to `ImmAssociateContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x95c): undefined reference to `ImmAssociateContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0xa7c): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0xdac): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0xf6c): undefined reference to `ImmGetIMEFileNameA@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x112b): undefined reference to `GetFileVersionInfoSizeA@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1176): undefined reference to `GetFileVersionInfoA@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x11a2): undefined reference to `VerQueryValueA@'D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x130a): undefined reference to `ImmGetIMEFileNameA@12'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1387): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x13c4): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1521): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1554): undefined reference to `ImmNotifyIME@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1597): undefined reference to `ImmSetCompositionStringW@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x15bd): undefined reference to `ImmNotifyIME@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x15d5): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1626): undefined reference to `ImmGetCompositionStringW@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1664): undefined reference to `ImmGetCompositionStringW@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x19bb): undefined reference to `ImmGetCandidateListW@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1a04): undefined reference to `ImmGetCandidateListW@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1d30): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1dc5): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1e66): undefined reference to `ImmGetContext@'
D:/MSYS/local/lib/libSDL2.a(SDL_windowskeyboard.o):SDL_windowskeyboard.c:(.text+0x1e9a): undefined reference to `ImmReleaseContext@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x5e4): undefined reference to `_imp__SetupDiGetClassDevsA@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x628): undefined reference to `_imp__SetupDiEnumDeviceInterfaces@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x641): undefined reference to `_imp__SetupDiDestroyDeviceInfoList@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x685): undefined reference to `_imp__SetupDiGetDeviceInterfaceDetailA@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x6dd): undefined reference to `_imp__SetupDiGetDeviceInterfaceDetailA@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x70f): undefined reference to `_imp__SetupDiEnumDeviceInfo@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x75d): undefined reference to `_imp__SetupDiGetDeviceRegistryPropertyA@'
D:/MSYS/local/lib/libSDL2.a(hid.o):hid.c:(.text+0x7c5): undefined reference to `_imp__SetupDiGetDeviceRegistryPropertyA@'
D:/MSYS/local/lib/libSDL2.a(SDL_systimer.o):SDL_systimer.c:(.text+0x22): undefined reference to `_imp__timeEndPeriod@'
D:/MSYS/local/lib/libSDL2.a(SDL_systimer.o):SDL_systimer.c:(.text+0x45): undefined reference to `_imp__timeBeginPeriod@'
D:/MSYS/local/lib/libSDL2.a(SDL_systimer.o):SDL_systimer.c:(.text+0x10d): undefined reference to `_imp__timeGetTime@'
D:/MSYS/local/lib/libSDL2.a(SDL_systimer.o):SDL_systimer.c:(.text+0x211): undefined reference to `_imp__timeGetTime@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x11): undefined reference to `_imp__waveOutGetNumDevs@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x3c): undefined reference to `_imp__waveOutGetDevCapsW@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0xbd): undefined reference to `_imp__waveInGetNumDevs@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0xe8): undefined reference to `_imp__waveInGetDevCapsW@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x248): undefined reference to `_imp__waveOutGetErrorTextW@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x339): undefined reference to `_imp__waveOutWrite@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x43b): undefined reference to `_imp__waveInAddBuffer@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x4da): undefined reference to `_imp__waveInAddBuffer@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x528): undefined reference to `_imp__waveOutReset@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x57d): undefined reference to `_imp__waveOutUnprepareHeader@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x59c): undefined reference to `_imp__waveOutClose@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x5c3): undefined reference to `_imp__waveInReset@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x619): undefined reference to `_imp__waveInUnprepareHeader@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x639): undefined reference to `_imp__waveInClose@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x766): undefined reference to `_imp__waveInOpen@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x7a7): undefined reference to `_imp__waveOutOpen@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x968): undefined reference to `_imp__waveInOpen@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0x9c2): undefined reference to `_imp__waveOutOpen@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0xb35): undefined reference to `_imp__waveInPrepareHeader@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0xb89): undefined reference to `_imp__waveInAddBuffer@'
D:/MSYS/local/lib/libSDL2.a(SDL_winmm.o):SDL_winmm.c:(.text+0xbdc): undefined reference to `_imp__waveOutPrepareHeader@' 就修改 D:\MSYS\build\libs\dav1d-0.4.\build\build.ninja LINK_ARGS 加上 "-limm32" "-lsetupapi" "-lwinmm" "-lversion" LINK_ARGS = "-ID:/MSYS/local/include" "-LD:/MSYS/local/lib" "-Wl,-O1" "-Wl,--start-group" "src\\libdav1d.a" "D:/MSYS/local/lib/libSDL2main.a" "D:/MSYS/local/lib/libSDL2.a" "-mwindows" "-LD:/MSYS/local/lib" "-lmingw32" "-mconsole" "-lkernel32" "-luser32" "-lgdi32" "-lwinspool" "-lshell32" "-lole32" "-loleaut32" "-luuid" "-lcomdlg32" "-ladvapi32" "-limm32" "-lsetupapi" "-lwinmm" "-lversion" "-Wl,--end-group"
mingw32环境上静态编译 dav1d 0.4.0的更多相关文章
- Windows 上静态编译 Libevent 2.0.10 并实现一个简单 HTTP 服务器(无数截图)
[文章作者:张宴 本文版本:v1.0 最后修改:2011.03.30 转载请注明原文链接:http://blog.s135.com/libevent_windows/] 本文介绍了如何在 Window ...
- Windows 上静态编译 Libevent 2.0.10 并实现一个简单 HTTP 服务器(图文并茂,还有实例下载)
[文章作者:张宴 本文版本:v1.0 最后修改:2011.03.30 转载请注明原文链接:http://blog.s135.com/libevent_windows/] 本文介绍了如何在 Window ...
- Qt最新版5.12.2在Win10环境静态编译安装和部署的完整过程(VS2017)
一.为什么要静态编译 用QtCreator编译程序时,使用的是动态编译.编译好的程序在运行时需要另外加上相应的Qt库文件,一大堆dll文件.如果想将生成的程序连同所需要的库一起完整地打包成一个可执行程 ...
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found(使用arm-linux-gcc -static -o 来进行静态编译)
目标板是S3C2440.至于交叉编译环境的搭建就不多说了,网上很多教程. 搭建好了交叉编译环境后,第一件事就是传说中的”Hello,World!”. 一. 主机编译环节 我使用的系统是ubuntu10 ...
- FFMPEG在嵌入式硬件上应用之 —— 基本环境搭建及编译
前段时间在翻看电脑里面资料时,发现了以前做的在嵌入式硬件上面运行以ffmepg为基础,以嵌入式硬件解码的多媒体播放工作,发现都快忘记完了.今日得闲整理温习了一下ffmpeg在嵌入式上的运用,这里给大家 ...
- Qt for Windows:Qt 5.4.0 MinGW 静态编译版本制作 (转)
大致流程: 1.安装Qt(源码版)以及其他必要的环境 2.编译/安装 3.配置 4.使用 ----------正文分割线---------- 1.安装Qt(源码版) 1.1 下载Qt(两个地址二选一即 ...
- 亲测VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序(图文并茂,非常详细)
下载源代码,注意一定是源码压缩包如qt-everywhere-opensource-src-4.8.0.zip,不是Qt发布的已编译的不同版本的标准库如qt-win-opensource-4.8.0- ...
- VS2008 环境中完美搭建 Qt 4.7.4 静态编译的调试与发布(好像很不错,有六张插图说明)good
为什么要在VS2008中使用QT静态编译呢?很简单,因为VS2008编译器编译出来的文件比mingw编译的要几乎小一半. 好了现在我们来做些准备工作,VS2008自然要安装的,然后打上SP1的补丁.然 ...
- Windows7系统下OpenCV2.4.4+PCL1.6.0+SSBA3.0+VS2010 IDE32环境下编译和安装以实现Sfm和PCL点云数据可视化
最近在学习<深入理解OpenCV:实用计算机视觉项目解析>一书的第三章和第四章时,遇到很多编译问题,书中又没有详细的讲解环境配置和搭建过程.经过多天的捉摸.调试.排错终于将两章的程序都调试 ...
随机推荐
- linux 静态路由
用ip route删除默认路由 ip route del default via 192.168.18.1 用route删除默认路由route del default gw 192.168.18.1 ...
- xss过滤方法
用的白名单过滤,是我们的论坛自用的方法,也许考虑不周,欢迎来黑我们的论坛!https://www.ebcms.com/forum.html // 安全过滤 function safe_html($ht ...
- SQL练习02
编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) . +----+--------+| Id | Salary |+----+--------+| 1 | 100 || ...
- スワコゥのパーフェクトコード教室 ~ Style of suwakow's for OI Codes
"みんなー! スワコゥのコード教室はじまるよー!" "大家!\(\color{grey}{\text{suwakow}}\)的码风教室开始了哟!" " ...
- 一例基于thinkphp,jquery和bootstrap渲染的查询数据分页器
对于某些查询记录很多的结果,web页面不得不采用分页器,现在奉上一例代码,其主要逻辑是:由页面的dom 节点发起ajax请求,返回的查询结果根据页面布局需要进行切片:并根据总记录数和页面展现的条数算出 ...
- Burpsuite的Intruder模块发现敏感目录
提前配置好浏览器的代理设置,并且成功访问了目标地址(这里是http://192.168.146.133/WackoPicko) 1.在burpsuite的proxy栏目中,找到对WackoPicko路 ...
- 并行计算基础(1)(GPU架构介绍)
一.常用术语 Task:任务.可以完整得到结果的一个程序,一个程序段或若干个程序段.例如搬砖. Parallel Task:并行任务.可以并行计算的任务.多个人搬砖. Serial Execution ...
- Java多线程和并发(一),进程与线程的区别
目录 1.进程和线程的由来 2.进程和线程的定义 3.进程和线程的区别 一.进程和线程的区别 1.进程和线程的由来 2.进程和线程的定义 进程是资源分配的最小单位,线程是CPU调度的最小单位 3.进程 ...
- 1209F - Koala and Notebook
这场比赛没打,看同学fst了,于是来看看. 这道题看似简单,但是没想清楚细节真的不太行.像现在熬到十一点左右,脑子真的不行. 首先显然位数越小越好,因为每一位要比较,不如拆点.此时要拆成两条有向链(开 ...
- 「TJOI2019」唱、跳、rap 和篮球
题目链接 题目分析 据说这是一道生成函数题 看到限制条件,我们首先想到的就是对有多少组讨论cxk的人进行容斥.然后就是求剩下的人随便放有多少种方法了.考虑现在每种剩\(a,b,c,d\)人,还需要排\ ...