[Wine]Compiling libraries using WineLib under g++

Krishnan V v_krishnan at s3india.com
Sun Apr 24 23:34:15 CDT 2005


I tried to locate libwine.a on my PC but could not locate it! I had
downloaded the winelib release from SourceForge and ran the
tools/wineinstall script to compile and install WineLib as per the readme. I
am missing anything?

----- Original Message -----
From: "Lars Segerlund" <lars.segerlund at comsys.se>
To: "Krishnan Venkatraman" <v_krishnan at s3india.com>
Sent: Thursday, April 21, 2005 6:07 PM
Subject: Re: [Wine]Compiling libraries using WineLib under g++

>  Hi libwine might be placed in a fun location, try find /. -name libwine.a
>  which will search everything to find the location.
>  after this specify the path with -L<path to libwine> in addition to the
other flags on the command line.
>  If youre having problem later the LD_LIBRARY_PATH is off, set it to
include the path
>  lo libwine.so for runtime linking.
>  This should work ..
>  / hope this helps, Lars Segerlund.
> On Thu, 21 Apr 2005 15:22:57 +0530 (IST)
> "Krishnan Venkatraman" <v_krishnan at s3india.com> wrote:
> > I am a newcomer to programming on Linux. I am trying to port the source
> > of some of my libraries (DLLs) under win32 to Linux. I am using WineLib
> > provide me the basic Win32 API implementation. I am able to compile my
> > using WineLib, but I am not able to perform the link operation. I have
> > installed the latest development release (20050310). All the Win32 API
> > functions that I use are being reported as undefined. I tried specifying
> > -lwine option to g++,but I could not locate libwine.a on my machine. How
> > I create it using the WineLib release?
> >
> > Thanks,
> > Krishnan
> >
> > _______________________________________________
> > wine-users mailing list
> > wine-users at winehq.org
> > http://www.winehq.org/mailman/listinfo/wine-users

More information about the wine-users mailing list