[vlc-devel] Cross-compiling for Win32 on Ubuntu x86_64 fails

Jarrad Whitaker jarrad.whitaker at gmail.com
Thu Nov 6 03:32:25 CET 2014

using the hack to disable npapi at
https://forum.videolan.org/viewtopic.php?f=13&t=118201 , vlc has
built. Woohoo!
However when running, it appears it cannot load any plugins (for
example, warning: core libvlc warning: cannot load module `C:\Program
Files\VideoLAN\VLC\plugins\gui\libqt4_plugin.dll' (The specified
module could not be found. (error 126)) ).
If I copy the plugins along with libgcc_s_seh-1.dll from the latest
official nightly, then those copied plugins *will* work. However as I
am wanting to be playing with plugin compilation this is not really a
solution. I have tried running gdb but nothing of huge interest pops
up beyond the above plugin load errors.

As always, help appreciated :(

On 6 November 2014 11:38, Jarrad Whitaker <jarrad.whitaker at gmail.com> wrote:
> Hash: SHA1
> Well that did it - with contrib home-built, VLC itself is finishing
> compiling. However, the npapi plugin is failing to find libvlc (again,
> a pkgconfig error?) so Windows packaging is breaking.
> Ideas?
> Thanks for all the help, am posting here with the intention of
> documenting the process for others as much as nagging for help. :)
> Jarrad
> On 06/11/14 03:18, Jarrad Whitaker wrote:
>> Yes this is what I meant by HiDPI, but I figured most of my effort
>> would be in getting win32 to build anyway for testing (which is
>> proving true!) so I started there first. I also lack a current
>> hi-dpi Linux environment to test in (though of course this can be
>> mucked with easily).
>> contrib is building from scratch now. Had issues with the first
>> package with a dependency: PKG_CONFIG_PATH has been properly
>> exported, but if I hack an echo into aribb's configure script it
>> seems to be getting reset to my system's
>> /usr/x86_64-w64-mingw32/lib/pkgconfig. Aribb thus fails to find
>> libpng and hence build. libpng is sitting happily in the proper
>> config lib dir, as are its entries in /pkgconfig. I have mucked
>> around this for now by symlinking the sys directory to the one in
>> vlc's contrib, but just FYI this is all with the default config and
>> build instructions.
>> Thanks for the speedy responses! Jarrad
>> On 6 November 2014 02:49, Rémi Denis-Courmont <remi at remlab.net>
>> wrote:
>>> Le jeudi 06 novembre 2014, 02:23:02 Jarrad Whitaker a écrit :
>>>> Any help would be appreciated, once this gets building properly
>>>> I want to start work on hidpi support on Win and Linux.
>>> If you mean to make the GUI resolution-independent, you might as
>>> well develop natively on Linux at least initially. The UI code is
>>> (almost) the same as on Windows.
>>> Otherwise I don't understand what you mean by "HiDPI".
>>> -- Rémi Denis-Courmont http://www.remlab.net/
> Version: GnuPG v1
> QDO2oasrGJn+I+r6RXNjIzmdbD4PnEUajgUMv1R+7fdKgOMgyc+CqwmLcqZsLklQ
> RUV+6aKWkt2m7iUE0s2jBhTWIFfgg/lW52ZLvrR5Y7UB+pB4Hwlm8daOJvuTlr5N
> +aZPVSiwYjhuJCdMJUdIz8GvzR7Kqg9MTVYKLsu3rrUNZsVMWTvI91qjh7Zdp2o9
> OICvPiwIJtXrBFkgt6c+dz02iX78dDjtBb3lCiXiayj8T3NOFFVVAo9yJd/9Z10g
> euS4oGx/eYY+MVr2+arf6AZo9vK46XozZgjuE0/2csHo2N8jho8hAVO/uAzIdpUR
> EBMnJV99yvioazhC7v2w2Tu5sg6WHyg/82rLjNPs1yLGcKpOgGpAdfpRrOM+yLwc
> pOQYGRn54MA6NRT+JZZVIHVyThGGhfgSQwbuUzIvi5kclOtN5Oe3g5R9f6A82Msn
> jySg3/XariREFtYRHRiBnSbYSEjxIaz5R+fY4RMl+tkxx/nou1iDQT99mg5X4ZJm
> d+xgvOdcNOydrKqWqEcysqzS5VF3Qh+y1POGc6ScMHsM9Sv84l5KVJ6Za4oxJaQf
> CGmFubHqgwkpSaWeGfvDTByLv1oRC5dfSDjDMMjxls8SUdvWbK0eq3mGM5Qb308T
> 0akgE1c1fS304CaqUHmN
> =Gaub

More information about the vlc-devel mailing list