[vlc-devel] Problems cross compiling to windows according to Win32Compile

David Fuhrmann david.fuhrmann at gmail.com
Mon Jul 28 18:51:17 CEST 2014


Am 28.07.2014 um 16:33 schrieb David R. Robison <david.robison at openroadsconsulting.com>:

> Thanks for the tip. I installed MXE and built for all packages. When I then ran the configure, I still had to disable some packages to get the configure to run:
> 
> ../extras/package/win32/configure.sh --host=x86_64-w64-mingw32 --enable-static \
>     --disable-dvdread \
>     --disable-dca \
>     --disable-schroedinger \
>     --disable-caca \
>     --disable-chromaprint \
>     --disable-goom \
>     --disable-qt \
>     --disable-skins2
> 
> Not sure why this should be the case, but I finally got the configure to finish cleanly.
> 
> However, when I run the "make" it fails with the following error:
> 
> make[2]: Entering directory `/home/david/vlc/win32/src'
>   GEN      stamp-revision
> make  all-am
> make[3]: Entering directory `/home/david/vlc/win32/src'
>   CCLD     libvlccore.la
> /home/david/mxe/usr/x86_64-w64-mingw32/lib/libdbus-1.a(libdbus_1_la-dbus-sysdeps-thread-win.o):dbus-sysdeps-thread-win.c:(.text+0xd): multiple definition of `DllMain'
> win32/.libs/thread.o:/home/david/vlc/win32/src/../../extras/package/win32/../../../src/win32/thread.c:1007: first defined here
> collect2: error: ld returned 1 exit status
> 
> Is there something I'm still missing? David

Hi David,

I think the supported way is to use VLCs own prebuilt contribs. Using these, there should be no need to install native versions of the needed libraries, nor using MXE.

With best regards,
Another David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140728/0815995a/attachment.html>


More information about the vlc-devel mailing list