I've tryed it under Kylix and Linux.Originally Posted by cairnswm
First, i've renamed the units to dpr/pas for compatibility.
It firstly didn't compiled becouse in linux unit importing cares of case.
You should import "sdl" instead of "SDL" and "sdl_ttf" instead of "SDL_ttf". That sux, i know, but kylix works that way (AFAIK)
Another thing, you used local variable initialization, that is not supported in Kylix.
procedure XXX();
var y : integer = 3;
begin
....
end;
should be:
procedure XXX();
var y : integer;
begin
y:=3;
....
end;
That said i was able to compile. But then i was missing "libSDL_ttf.so" and i wasn't able to run it..
I'll try and find that lib
Bookmarks