'DXVA_NoEncrypt' undeclared when cross compiling 2.0.4

This forum is about all development around libVLC.
Vaselinessa
Blank Cone
Blank Cone
Posts: 48
Joined: 03 Apr 2011 02:26
Location: Sacramento, CA

'DXVA_NoEncrypt' undeclared when cross compiling 2.0.4

Postby Vaselinessa » 11 Jan 2013 20:26

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)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 'DXVA_NoEncrypt' undeclared when cross compiling 2.0.4

Postby Jean-Baptiste Kempf » 13 Jan 2013 14:59

Yes. Use latest VLC 2.0 code (2.0.6) or force the include of "dvxa.h"
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests