Problem cross compiling VLC win32 due to wrl/client.h requirement

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
thebunnyrules
New Cone
New Cone
Posts: 3
Joined: 09 Feb 2017 05:48

Problem cross compiling VLC win32 due to wrl/client.h requirement

Postby thebunnyrules » 09 Feb 2017 07:42

Hello,

I'm following the cross compile tutorial for cross compiling VLC for Windows via Linux/Mingw-W64.

https://wiki.videolan.org/Win32Compile/

I have the latest source code for VLC 3.0 obtain via git clone (git clone http://git.videolan.org/git/vlc.git vlc).

I managed to compile all the third party libs and configured the main build successfully with no errors. I'm running into a snag when I run make. There are three cpp files that require wrl/client.h which after some research I found was bundled in Mingw-W64 up till version 4.x but was discontinued in version 5.x and 6.x (I'm on version 6).

The files that require wrl are:

vlc/contrib/win32/qt/src/3rdparty/angle/src/common/tls.cpp
vlc/modules/access/dshow/access.h
vlc/modules/text_renderer/freetype/fonts/dwrite.cpp

I've tried downloading the latest wrl headers from the mingw-w64 svn but they are incompatible and causing synthax errors. Anyone has any idea how I can get passed this? Has wrl/client.h been replaced by another header that I can substitute into these files?

thebunnyrules
New Cone
New Cone
Posts: 3
Joined: 09 Feb 2017 05:48

Re: Problem cross compiling VLC win32 due to wrl/client.h requirement

Postby thebunnyrules » 10 Feb 2017 09:47

140 views! This forum sure does get traffic! I'm used to 5 or 15 :)

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: Problem cross compiling VLC win32 due to wrl/client.h requirement

Postby Jean-Baptiste Kempf » 10 Feb 2017 14:06

Copy them from mingw HEAD and copy them to your mingw headers.
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 “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests