PDA

View Full Version : Lazarus Debian SDL problems (HELP)



jdarling
18-01-2007, 05:26 PM
Ok, so I got Debian up and running with VMWare Player. Managed to get Lazarus installed (pretty easy to do). And got a few things to compile just fine.

Now I downloaded my own package (ECTG) and tried to build it. I keep getting an error of "/usr/bin/ld: cannot find -ISDL"

I'm gussing that this means that it can't find the sdl.pas file some place, but I don't know. I've looked everywhere (knowing that linux is case sensitive) and can't find any place that its SDL and not sdl. Any ideas?

technomage
18-01-2007, 07:49 PM
It's refering to the libsdl.so.

check that you have sdl installed on your linux distribution (not all distributions ship with it).

jdarling
18-01-2007, 08:19 PM
Well, I found my problem and fixed it. The basic problem was this: I did an apt-get install sdl-1.2-all

The problem is, I thought that the all package would have the development enviroment within it. IT DOESN'T! You still have to get and install the -dev packages. Once that was done, it compiled and ran just fine.

Just so everyone can see, here is a screenshot of JumpStart running in both windows and linux at the same time with network connections between the two.

http://upload5.postimage.org/274856/JSCP.jpg (http://upload5.postimage.org/274856/photo_hosting.html)

BTW: In case your trying to setup Lazarus in Debian, you have to do an apt-get on gdb and then in your debugger options setup gdb as your debugger and enter /usr/bin/gdb as the actual debugger application (in the un-labeled box below).