[vlc-devel] Problems cross compiling to windows according to Win32Compile
Edward Wang
edward.c.wang at compdigitec.com
Mon Jul 28 21:44:33 CEST 2014
On Mon, Jul 28, 2014 at 3:32 PM, David R. Robison
<david.robison at openroadsconsulting.com> wrote:
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lGL
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -ldl
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -ldrm
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXdamage
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lX11-xcb
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb-glx
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb-dri2
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb-dri3
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb-present
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb-sync
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxshmfence
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXxf86vm
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXfixes
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXext
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lX11
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lxcb
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXau
> /home/david/mingw-w64/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld:
> cannot find -lXdmcp
> collect2: error: ld returned 1 exit status
> make[5]: *** [libgl_plugin.la] Error 1
The problem is that it seems to be trying to link Unix (build system)
libraries, which it should not be doing when it is cross-compiling.
Regards,
Edward Wang
More information about the vlc-devel
mailing list