<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=UTF-8>
<META content="MSHTML 6.00.6000.16915" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Michael, thanks :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have now attempted to install SDL like
so:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>apt-get install libsdl1.2-dev<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I will see if this works :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Paul</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mjoyner@vbservices.net href="mailto:mjoyner@vbservices.net">Michael
Joyner ᏩᏯ</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=lazarus@lists.lazarus.freepascal.org
href="mailto:lazarus@lists.lazarus.freepascal.org">Lazarus mailing list</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 14, 2009 2:51
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Lazarus] Lazarus (pendrive
linux) can't find SDL libraries?</DIV>
<DIV><BR></DIV>Paul Nicholls wrote:
<BLOCKQUOTE cite=mid:D7F548EE613E4C988AF10C3EF7FB598C@protel.com.au
type="cite">
<META content="MSHTML 6.00.6000.16915" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi all,<BR> I downloaded and
installed pendrive linux on my computer.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.pendrivelinux.com/run-pendrivelinux-2009-in-windows/"
moz-do-not-send="true">http://www.pendrivelinux.com/run-pendrivelinux-2009-in-windows/</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>After much fannying around (package dependancy
issues), I managed to install freepascal, Lazarus 0.9.28.2, gdb (for Lazarus
debugging), and SDL.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Ok, so far so good...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am now trying to get a Win32 Lazarus SDL
project I have already made to now also compile and run under my new shiny
Linux ;)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>When I try and compile the source code, I get
this linking error:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>"/usr/bin/ld: cannot find -lSDL"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>if it helps, in Linux, I used this (from
memory, might be slightly wrong package name) to install SDL (as root
user):</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>"apt-get install
SDL"</FONT></DIV></BLOCKQUOTE>You have to install sdl-dev or similar. <BR>
<BLOCKQUOTE cite=mid:D7F548EE613E4C988AF10C3EF7FB598C@protel.com.au
type="cite">
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, how do I tell Lazarus where Linux installed
the SDL libraries, and how do I find them in the first place if I need a
path to them?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LOL</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cheers,<BR>Paul</FONT></DIV><PRE wrap=""><HR width="90%" SIZE=4>
--
_______________________________________________
Lazarus mailing list
<A class=moz-txt-link-abbreviated href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</A>
<A class=moz-txt-link-freetext href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">--
LyX: <A class=moz-txt-link-freetext href="http://www.lyx.org/">http://www.lyx.org/</A> OpenOffice: <A class=moz-txt-link-freetext href="http://www.openoffice.org/">http://www.openoffice.org/</A>
Inkscape: <A class=moz-txt-link-freetext href="http://www.inkscape.org/">http://www.inkscape.org/</A> Scribus: <A class=moz-txt-link-freetext href="http://www.scribus.net/">http://www.scribus.net/</A>
GIMP: <A class=moz-txt-link-freetext href="http://www.gimp.org/">http://www.gimp.org/</A> PDF: <A class=moz-txt-link-freetext href="http://www.pdfforge.org/">http://www.pdfforge.org/</A>
</PRE>
<P>
<HR>
<P></P>--<BR>_______________________________________________<BR>Lazarus
mailing
list<BR>Lazarus@lists.lazarus.freepascal.org<BR>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus<BR></BLOCKQUOTE></BODY></HTML>