Quote Originally Posted by savage
That's great news Paul! It looks like adding units\arm-linux\rtl folder to your path is what did the trick.

The difference between your IFDEF and mine is that mine removes support for v1.x of FPC. Only v2.x of FPC is supported now.

Could you follow the following ]http://jedi-sdl.cvs.sourceforge.net/*checkout*/jedi-sdl/JEDI-SDLv1.0/SDL/Pas/sdl.pas?revision=1.27[/url]
and save this file as sdl.pas and use this one just to confirm 100% that it is the added path is all that is needed for v1.0 of JEDI-SDL to work with GP2X.
Hi,
I got the version of sdl.pas from above and tried it under Delphi/freepascal/lazarus.

It compiled but when running it it first complained:

The procedure entry point SDL_GetKeyRepeat could not be located in the dynamic link library SDL.dll.


does this mean I have the wrong version of the sdl.dll?

EDIT: I downloaded the new dll and fixed this issue.

Also when compiling it under freepascal arm-linux it had these errors:

Code:
SDL.pas(2183,12) Error: Forward type not resolved "PPoint"
SDL.pas(2198,11) Error: Forward type not resolved "PRect"
SDL.pas(3949,1) Fatal: There were 2 errors compiling module, stopping
SDL.pas(3949,1) Fatal: Compilation aborted
I think this one may have something to do with HAS_TYPES...is this defined automatically, or do I have to pass this to the compiler?

cheers,
Paul.