[vlc-devel] Problems cross compiling to windows according to Win32Compile
David R. Robison
david.robison at openroadsconsulting.com
Thu Jul 24 14:04:55 CEST 2014
I've been able to "kick the can" down the road by disabling some modules:
CC="ccache x86_64-w64-mingw32-gcc" CXX="ccache x86_64-w64-mingw32-g++" \
../configure -C --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu \
--prefix=/tmp/win32 \
--disable-sdl \
--enable-nls \
--enable-debug \
--disable-dc1394 --disable-dv1394 --disable-avformat
--disable-avcodec --disable-swscale --disable-qt --disable-freetype
--disable-glx --disable-gles1 --disable-gles2 --disable-glspectrum
But I'm not sure this is what I really want to do. Even with this, I
still get the following error:
CCLD libgl_plugin.la
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lGL
/usr/bin/x86_64-w64-mingw32-ld: cannot find -ldl
/usr/bin/x86_64-w64-mingw32-ld: cannot find -ldrm
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXdamage
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lX11-xcb
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb-glx
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb-dri2
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb-dri3
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb-present
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb-sync
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxshmfence
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXxf86vm
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXfixes
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXext
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lX11
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxcb
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXau
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lXdmcp
collect2: error: ld returned 1 exit status
It looks like its getting its GL_LIBS from some package config. I know
little about package configs. Could it be reading the wrong config file?
Why is it trying to include all the X libraries for the GL plugin when
cross compiling for windows? I thought I followed the document for cross
compiling to the letter but maybe I really messed up my install. Any
thoughts? I've spent the better part of 4 days trying to get VLC to
compile with nothing to show for it. Any help would be appreciated.
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526
On 7/23/2014 12:16 PM, Rémi Denis-Courmont wrote:
> Le mercredi 23 juillet 2014, 12:04:31 David R. Robison a écrit :
>> I am also using Ubuntu 14.04 LTS however I did not run the config
>> manually I used ../extras/package/win32/configure.sh
>> --host=x86_64-w64-mingw32 ...
>> Can you send me the command you used to manually configure? David
> CC="ccache i686-w64-mingw32-gcc" CXX="ccache i686-w64-mingw32-g++" \
> ../configure -C --host=i686-w64-mingw32 --build=x86_c64-linux \
> --prefix=/tmp/win32 \
> --disable-sdl \
> --enable-nls \
> --enable-debug
>
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.
More information about the vlc-devel
mailing list