码迷,mamicode.com
首页 > 其他好文 > 详细

libavcodec/dxva2.h:40:5: error: unknown type name 'IDirectXVideoDecoder'

时间:2015-01-21 13:20:46      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:

gcc 4.9.2 编译 ffmpeg-git-1aeb88b 是出现如下错误

> FFmpeg fails to make with:
>
> CC libavcodec/dxva2.o
> In file included from libavcodec/dxva2_internal.h:26:0,
> from libavcodec/dxva2.c:23:
> libavcodec/dxva2.h:40:5: error: unknown type name ‘IDirectXVideoDecoder‘
> libavcodec/dxva2.h:45:5: error: unknown type name
> ‘DXVA2_ConfigPictureDecode‘
> libavcodec/dxva2.h:55:5: error: unknown type name ‘LPDIRECT3DSURFACE9‘
> In file included from libavcodec/dxva2.c:23:0:
> libavcodec/dxva2_internal.h:36:28: error: unknown type name
> ‘DXVA2_DecodeBufferDesc‘
> libavcodec/dxva2_internal.h:45:51: error: unknown type name
> ‘DXVA2_DecodeBufferDesc‘
> libavcodec/dxva2_internal.h:46:51: error: unknown type name
> ‘DXVA2_DecodeBufferDesc‘
> libavcodec/dxva2.c:46:28: error: unknown type name ‘DXVA2_DecodeBufferDesc‘
> libavcodec/dxva2.c:83:51: error: unknown type name ‘DXVA2_DecodeBufferDesc‘
> libavcodec/dxva2.c:84:51: error: unknown type name ‘DXVA2_DecodeBufferDesc‘
> make: *** [libavcodec/dxva2.o] Error 1

折腾了好久 用 gcc 4.5.2 编译就顺利通过.

libavcodec/dxva2.h:40:5: error: unknown type name 'IDirectXVideoDecoder'

标签:

原文地址:http://www.cnblogs.com/nlsoft/p/4238563.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!