Well, it now compiles...
One slightly huge issue though - I ran it in debug mode in Lazarus, and it crashed...taking out my pendrive linux at the same time!!
I had to restore the drive image that I had luckily backed up 1/2 hour earlier!!
I suspect it might be because I'm using
[pascal]DataPath := ExtractFilePath(ParamStr(0)) + 'data\';[/pascal]
in my code, and then loading stuff from here...
I have read this is definitely not reliable in Linux
1. Anyone know how to find an application's path from within a program under Linux?
2. anyone have a simple SDL + OpenGL lazarus linux program with source that they could share so I could try it on my system to help me debug my SDL + OpenGL code and find where it is crashing?
cheers,
Paul
Bookmarks