<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1250">
<TITLE>RE: [fpc-pascal]mysql on windows</TITLE>
<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=369040313-31052001><FONT face=Arial color=#0000ff size=2>I
downloaded latest snapshot right now and tried to compile my
program.</FONT></SPAN></DIV>
<DIV><SPAN class=369040313-31052001><FONT face=Arial color=#0000ff
size=2>Compilation failed because compiler can't find file "libpwindows.aw" ...
where to get it? or how to generate it?</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Kanzelsberger Pavel
[mailto:kanzelsberger@rekt.umb.sk]<BR><B>Sent:</B> Thursday, May 31, 2001 2:53
PM<BR><B>To:</B> 'fpc-pascal@deadlock.et.tudelft.nl'<BR><B>Subject:</B> RE:
[fpc-pascal]mysql on windows<BR><BR></FONT></DIV>
<P><FONT size=2>Yes it's v1.5</FONT> </P>
<P><FONT size=2>{ $Id: mysql.pp,v 1.5 2001/03/13 08:50:38 michael Exp $
}</FONT> </P>
<P><FONT size=2>and contains</FONT> </P>
<P><FONT size=2>{$ifdef win32}</FONT> <BR><FONT size=2>Const mysqllib =
'libmysql';</FONT> <BR><FONT size=2>{$else}</FONT> <BR><FONT size=2>Const
mysqllib = 'mysqlclient';</FONT> <BR><FONT size=2>{$endif}</FONT> </P>
<P><FONT size=2>{$ifndef win32}</FONT> <BR><FONT size=2>{$linklib c}</FONT>
<BR><FONT size=2>{$linklib m}</FONT> <BR><FONT size=2>{$endif}</FONT> </P>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Peter
Vreman [<A
href="mailto:peter@freepascal.org">mailto:peter@freepascal.org</A>]</FONT>
<BR><FONT size=2>Sent: Thursday, May 31, 2001 2:35 PM</FONT> <BR><FONT
size=2>To: fpc-pascal@deadlock.et.tudelft.nl</FONT> <BR><FONT size=2>Subject:
RE: [fpc-pascal]mysql on windows</FONT> </P><BR>
<P><FONT size=2>> I'm using v1.1 of compiler... but erasing last INPUT()
from link.res helps,</FONT> <BR><FONT size=2>> anyway I don't understand
why :)</FONT> </P>
<P><FONT size=2>Which revision of the mysql.pp do you have? 1.5 is the correct
version, it contains the</FONT> <BR><FONT size=2>next lines:</FONT> </P>
<P><FONT size=2>{$ifndef win32}</FONT> <BR><FONT size=2>{$linklib c}</FONT>
<BR><FONT size=2>{$linklib m}</FONT> <BR><FONT size=2>{$endif}</FONT> </P>
<P><FONT size=2>this will result in not having the -lc and -lm in the
link.res</FONT> </P><BR><BR><BR>
<P><FONT size=2>_______________________________________________</FONT>
<BR><FONT size=2>fpc-pascal maillist -
fpc-pascal@lists.freepascal.org</FONT> <BR><FONT size=2><A
href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal"
target=_blank>http://lists.freepascal.org/mailman/listinfo/fpc-pascal</A></FONT>
</P></BLOCKQUOTE></BODY></HTML>