Unable to cross compile VLC for Windows following the guide

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.
maximushugus
New Cone
New Cone
Posts: 2
Joined: 15 Mar 2020 18:41

Unable to cross compile VLC for Windows following the guide

Postby maximushugus » 31 Mar 2020 14:57

Hello,
I'm trying to cross compile VLC for Windows (64 bit) from my Ubuntu 19.10 machine. So I'm following this guide : [url]https://wiki.videolan.org/Win32Compile/[/url]
But when i run

Code: Select all

../extras/package/win32/configure.sh --host=HOST-TRIPLET --build=x86_64-pc-linux-gnu
or

Code: Select all

../configure --host=HOST-TRIPLET --build=x86_64-pc-linux-gnu
replacing HOST-TRIPLET with "x86_64-w64-mingw32", I get this error :

Code: Select all

configure: error: Library dvdread > 6.0.0 needed for dvdread was not found
But I have installer dvdread in my system, wich is up to date.
So I can get around this problem with "-disable-dvdread" : it's not a good solution but I can continue to compile

But I also get this error :

Code: Select all

configure: error: Requested 'Qt5Core >= 5.11.0' but version of Qt5 Core is 5.6.2 No package 'Qt5Quick' found No package 'Qt5QuickWidgets' found No package 'Qt5QuickControls2' found. If you want to build VLC without GUI, pass --disable-qt.
I tried to prepare 3rd party libraries with prebuilt but I also tried manually, and I still have the problem.

I don't understand why I have this problem, and how to solve it.
Thanks

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests