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:实用计算机视觉项目解析>一书的第三章和第四章时,遇到很多编译问题,书中又没有详细的讲解环境配置和搭建过程.经过多天的捉摸.调试.排错终于将两章的程序都调试 ...
随机推荐
- python 单元测试_读写Excel及配置文件(八)
一.安装openpyxl模块 openpyxl模块:是用于解决Excel(WPS等均可使用)中扩展名为xlsx/xlsm/xltx/xltm的文件读写的第三方库.xls文件要使用xlwt .wlrd两 ...
- JAVA学习第二周课后作业
Java 的基本运行单位是类.类由数据成员和函数成员组成.变量之间可以相互转换.String是一个类.static是静态.全局的意思.经过测试,Java的枚举类型定义的Size与String一样都不是 ...
- 更新protobuf
sudo pip install --upgrade protobuf sudo apt-get install libprotobuf-dev protobuf-compiler这个不知道是什么问题 ...
- Win10 搭建IIS服务
IIS服务器,俗称:Web服务器又或者叫做网站服务器. IIS详解: https://baike.baidu.com/item/iis/99720?fr=aladdin 开始搭建: 1. 打开控制面板 ...
- (转载)Ant自动编译打包android项目
1 Ant自动编译打包android项目 1.1 Ant安装 ant的安装比较简单,下载ant压缩包 http://ant.apache.org (最新的为1.9.3版本),下载之后将其解压 ...
- javascript / angular 如何把object转成array
取出的api 格式是纯object格式 {"name":"james","city":"Taipei","co ...
- jquery die()方法 语法
jquery die()方法 语法 作用:die() 方法移除所有通过 live() 方法向指定元素添加的一个或多个事件处理程序.直线电机参数 语法:$(selector).die(event,fun ...
- SpringBoot项目中,AOP的使用
Springboot中自带依赖 1.创建一个SellerAuthorizeAspect类,打上标签@Aspect和@Component @Aspect @Component @Slf4j public ...
- JavaWeb_(SSH论坛)_七、辅助模块
基于SSH框架的小型论坛项目 一.项目入门 传送门 二.框架整合 传送门 三.用户模块 传送门 四.页面显示 传送门 五.帖子模块 传送门 六.点赞模块 传送门 七.辅助模块 传送门 为避免代码冗余, ...
- 编译一个需要用特定key前面的应用程序
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) # Build all java files in the java subdirectory L ...