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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Feb 13 14:16:56 CET 2017


On Fri, Feb 10, 2017, at 09:58 AM, Mohamad Mashi wrote:
> 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.
> 
> ==========================
> 
> 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?
> 
> Any help or advice would be appreciated. Thanks guys,
> 
> Fadi
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

Hi,

As far as I know there is no mingw-w64 6.x version released, and as far
as I can see, there is no 6.x branch either.
Latest public version is 5.0.1, and it does contain wrl/client.h.
Actually, client.h was introduced in the 5.x branch.
Could you be mistaking mingw-w64 versions with GCC versions?

In any case, the mingw-w64 version shipped in debian testing (5.0.1) is
enough, and required since 5.0 has a few quirks that will prevent the
build to complete.

Regards,

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list