I want to compile vlc media player for windows, according to the wiki docmentation, cross compile on linux is the right way, so I try to set the mingw tool chain on both debian 9/ubuntu 18.04/ubuntu 16.04, but always enconter the libdcp_plugin.la error(and some other errors), seems like there's gcc bug according to this post:https://forum.videolan.org/viewtopic.php?t=144693, then I try to build with docker images.
I'm using the vlc-debian-win64 image
already try to pull the image from registry.videolan.org:5000/vlc-debian-win64 and built the image locally, the images have different size(pull from repo and build locally with the docker file), not sure if it's a problem
Finnally I built the third party libs successfully and start building the vlc media player, but enconter this error:
CC video_output/win32/libdirect3d11_plugin_la-direct3d11.lo
In file included from /opt/gcc-x86_64-w64-mingw32/x86_64-w64-mingw32/include/dxgi1_5.h:55,
from ../../modules/video_output/win32/direct3d11.c:46:
/opt/gcc-x86_64-w64-mingw32/x86_64-w64-mingw32/include/dxgi1_4.h:290:9: error: unknown type name 'DXGI_COLOR_SPACE_TYPE'
290 | DXGI_COLOR_SPACE_TYPE colour_space,
the DXGI_COLOR_SPACE_TYPE was defined in dxgicommon.h and there is the dxgicommon.h under the same folder with the dxgi1_5.h, not sure why can not find the DXGI_COLOR_SPACE_TYPE, I also enconter this error while building with MSYS+MinGW
Any one can help me about this issue, or any one can tell me how to building the window vlc media player, i have try to building it for more than two weeks, still failed to build it. thanks!