Page 1 of 1

Unable to cross compile VLC for Windows following the guide

Posted: 31 Mar 2020 14:57
by maximushugus
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