Page 1 of 1

'DXVA_NoEncrypt' undeclared when cross compiling 2.0.4

Posted: 11 Jan 2013 20:26
by Vaselinessa
Thank you for your much help so far.

I'm trying to cross compile version 2.0.4 for windows, but when I get to the final step ('make'), I get the error: 'DXVA_NoEncrypt' undeclared. Do you have any idea why that would be (or what I should do about it)? Here's the make output:

Code: Select all

In file included from ../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:39:0: ../../../../extras/package/win32/../../../include/vlc_common.h:405:0: warning: "stat" redefined [enabled by default] /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition ../../../../extras/package/win32/../../../include/vlc_common.h:406:0: warning: "fstat" redefined [enabled by default] /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:256:0: note: this is the location of the previous definition ../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c: In function 'DxCreateVideoDecoder': ../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:955:13: error: 'DXVA_NoEncrypt' undeclared (first use in this function)

Re: 'DXVA_NoEncrypt' undeclared when cross compiling 2.0.4

Posted: 13 Jan 2013 14:59
by Jean-Baptiste Kempf
Yes. Use latest VLC 2.0 code (2.0.6) or force the include of "dvxa.h"