Page 1 of 1

Cross compile for --host=i686-w64-mingw32

Posted: 19 Dec 2019 09:38
by davids
If somebody has seen this before, maybe you could point me the right direction

Hello everyone, I am trying to compile VLC3.0.8 on the UBUNTU18.04 currently.
And I follow the steps of this URL to compile https://wiki.videolan.org/Win32Compile/#Obtaining_the_toolchain.
Now i have compiled it through.

But when I run it, the function is normal, but the default icon does not appear.
I know the reason for gui / qt and I have the following warning at compile time, but I don't know how to solve it.
----------------------------------------------------------------------------------------
make[4]: Entering directory '/root/vlc/win32/modules'
CXX gui/qt/libqt_plugin_la-resources.lo
CXXLD libqt_plugin.la

*** Warning: Linking the shared library libqt_plugin.la against the
*** static library /root/vlc/contrib/i686-w64-mingw32/lib/libQt5Gui.a is not portable!

*** Warning: Linking the shared library libqt_plugin.la against the
*** static library /root/vlc/contrib/i686-w64-mingw32/lib/libqtharfbuzzng.a is not portable!

*** Warning: Linking the shared library libqt_plugin.la against the
*** static library /root/vlc/contrib/i686-w64-mingw32/lib/libQt5Core.a is not portable!

*** Warning: Linking the shared library libqt_plugin.la against the
*** static library /root/vlc/contrib/i686-w64-mingw32/lib/libqtpcre.a is not portable!

Re: Cross compile for --host=i686-w64-mingw32

Posted: 19 Dec 2019 11:45
by unidan
Hi, there is no issue with these warnings, they are from a commit on libtool which is more than 15 years old. Tools have evolved since then.

What do you mean by "the default icon does not appear" ? Your issue is not very clear unfortunately.

Re: Cross compile for --host=i686-w64-mingw32

Posted: 20 Dec 2019 01:44
by davids
Hi unidan,thank you for your answer.
The menu icon and the toolbar icon below do not appear. The main program icon is also missing.
It should be that the svg icons in "modules/gui/qt/pixmaps" are not loaded. But the Makefile did compile these resources when compiling.
These resources should be compiled into "plugins/gui/libqt_plugin.dll".

But none of the program's icons appear.

Re: Cross compile for --host=i686-w64-mingw32

Posted: 20 Dec 2019 07:44
by nagababu
I don't know I am also waiting for the answer
iam digital maketing student at digital floats hyderabad

Re: Cross compile for --host=i686-w64-mingw32

Posted: 24 Dec 2019 02:47
by davids
it looks like this.
The menu icon and the toolbar icon below do not appear. The main program icon is also missing.
Image