[Lazarus] Lazarus (pendrive linux) can't find SDL libraries?
Paul Nicholls
paulfnicholls at gmail.com
Mon Dec 14 05:04:56 CET 2009
Hi Michael, thanks :-)
I have now attempted to install SDL like so:
apt-get install libsdl1.2-dev
I will see if this works :)
cheers,
Paul
----- Original Message -----
From: Michael Joyner ᏩᏯ
To: Lazarus mailing list
Sent: Monday, December 14, 2009 2:51 PM
Subject: Re: [Lazarus] Lazarus (pendrive linux) can't find SDL libraries?
Paul Nicholls wrote:
Hi all,
I downloaded and installed pendrive linux on my computer.
http://www.pendrivelinux.com/run-pendrivelinux-2009-in-windows/
After much fannying around (package dependancy issues), I managed to install freepascal, Lazarus 0.9.28.2, gdb (for Lazarus debugging), and SDL.
Ok, so far so good...
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 ;)
When I try and compile the source code, I get this linking error:
"/usr/bin/ld: cannot find -lSDL"
if it helps, in Linux, I used this (from memory, might be slightly wrong package name) to install SDL (as root user):
"apt-get install SDL"
You have to install sdl-dev or similar.
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?
LOL
cheers,
Paul
----------------------------------------------------------------------------
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/
------------------------------------------------------------------------------
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091214/1d2eb120/attachment-0004.html>
More information about the Lazarus
mailing list