Cross compile with docker image failed

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
zguiq
New Cone
New Cone
Posts: 3
Joined: 19 Jul 2022 04:54

Cross compile with docker image failed

Postby zguiq » 19 Jul 2022 05:32

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!

zguiq
New Cone
New Cone
Posts: 3
Joined: 19 Jul 2022 04:54

Re: Cross compile with docker image failed

Postby zguiq » 19 Jul 2022 09:13

Finnally built the vlc media player successfully, seems like it's third party lib issue, have to run make lots of time to compile all the third party libs.
But seems the vlc have no UI, still investigating why?

zguiq
New Cone
New Cone
Posts: 3
Joined: 19 Jul 2022 04:54

Re: Cross compile with docker image failed

Postby zguiq » 22 Jul 2022 04:13

Have to add --enable-qt to build a vlc with UI


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 79 guests