[vlc-devel] Problem cross compiling VLC win32 due to wrl/client.h requirement

Mohamad Mashi mo.mashi at gmail.com
Fri Feb 10 09:58:02 CET 2017

Hi Guys, not sure if my first message got through to the mailing list
because I wasn't subscribed when I initially sent it. Sending message
again. Sorry if it ends up as a double post.



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


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:


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?

Any help or advice would be appreciated. Thanks guys,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170210/3f063781/attachment.html>

More information about the vlc-devel mailing list