[vlc-devel] Re: help compiling win32 plugin
Graeme Ogilvie
graeme_ogilvie at yahoo.com
Fri Oct 11 13:23:55 CEST 2002
Doh! I told you I was probably doing something silly :-)
Misunderstanding on my part from reading the docs. It's getting further
now, but appears to be hanging on the "config.status: creating
debian/Makefile" line now..... And it's left the config.log file locked
so I can't read it.
Thanks for your help.
Graeme
-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org] On Behalf Of Gildas Bazin
Sent: 11 October 2002 10:45
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: help compiling win32 plugin
On Wednesday 09 October 2002 18:19, Graeme Ogilvie wrote:
> Well, I've made a bit of progress because my bootstrap process seems
> to work fine (at least it doesn't hang).
>
> It then starts to run the configure script, but gets stuck at the C
> compiler output - not sure if this is due to the automake problem or
> not.
>
> configure: loading site script /etc/config.site
> checking build system type... i386-pc-linux-gnu
> checking host system type... i586-pc-mingw32msvc
> checking target system type... i586-pc-mingw32msvc
> checking for a BSD-compatible install... /bin/install -c checking
> whether build environment is sane... yes checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
> checking for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
>
Errr, I feel stupid not to have seen this before but I know now where
the
problem comes from!
You are not passing the right arguments to the configure script.
> checking build system type... i386-pc-linux-gnu
> checking host system type... i586-pc-mingw32msvc
When compiling natively on windows (using MSYS+MINGW), you need to use
the
following commands as documented in the INSTALL.win32 file:
./configure \
--with-gtk-config-path=/c/dev/gtk-win32/bin \
--with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \
--with-directx=/c/dev/dxheaders \
--with-dvdcss-tree=../libdvdcss-win
You must not use the --host=i586-mingw32msvc --build=i386-linux
arguments!
Hope this helps,
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list