[Liboil] build error

David Schleef ds at schleef.org
Wed Nov 2 11:36:44 PST 2005

On Wed, Nov 02, 2005 at 10:23:22AM +0100, Sébastien Moutte wrote:
> Thanks, it builds now from cvs since David has applied your patch.
> I built it with a fresh install of cygwin+gcc-3.4.4-1+autoconf 2.59 + 
> automake 1.9.6.
> But it doesn't build what i need :) i need a windows DLL and an export 
> library file to build project like gstreamer with visual studio.
> cygwin builds executables linked on the linux API emulation layer 
> library cygwin1.dll.
> So cygwin isn't the good way for me.
> I'm now trying with MinGW, it builds fine and generates executable which 
> links on windows C run-time but it generates unix libraries (.a/.la).
> What's the way to generate a liboil windows library with MinGW ?
> Is there already binary packages of liboil for windows ?

I just cross-compiled for i586-mingw32msvc, and it produced a DLL
and supporting files, so I'm kind of confused.  There's a possibility
that your libtool is a bit old and doesn't support building DLLs on
the mingw32msvc target, or that the compiler doesn't want to build
them for some reason.

Could you try compiling this snapshot:


It contains the same libtool that works here, so if that doesn't
work, there's something wrong with your setup.


David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

More information about the Liboil mailing list