[vlc-devel] Problems cross compiling to windows according to Win32Compile
David R. Robison
david.robison at openroadsconsulting.com
Wed Jul 23 19:22:53 CEST 2014
So here is my configure script:
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
To get this to work I also needed to install the following packages:
apt-get install ccache
apt-get install libavcodec-dev libavformat-dev libswscale-dev
When I run the make, I get the following error:
make[4]: Entering directory `/home/david/Workspace/vlc/win32/modules'
CCLD libavio_plugin.la
/usr/bin/x86_64-w64-mingw32-ld: cannot find -ldl
/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 -lcdio_paranoia
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lcdio_cdda
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lcdio
/usr/bin/x86_64-w64-mingw32-ld: cannot find -ljack
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lasound
/usr/bin/x86_64-w64-mingw32-ld: cannot find -ldc1394
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lraw1394
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lxvidcore
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lrtmp
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpulse-simple
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpulse
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lgnutls
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lva
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lbz2
I've looked and I don't see those libraries anywhere on my system.
Should they be part of mingw-w64-tools? My libaudio.a file (which I was
previously missing) is in /usr/lib/x86_64-linux-gnu/
Any thoughts?
David
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