<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Paul Nicholls wrote:
<blockquote cite="mid:D7F548EE613E4C988AF10C3EF7FB598C@protel.com.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<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 moz-do-not-send="true"
href="http://www.pendrivelinux.com/run-pendrivelinux-2009-in-windows/">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 size="4" width="90%">
--
_______________________________________________
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>
</body>
</html>