![free pascal 2.0.2 free pascal 2.0.2](https://www.coursehero.com/thumb/ce/65/ce65309c987c8e80f3a23c05a2050a87a3040526_180.jpg)
SDL headers from Free Pascal SVN (deprecated) Most jedi-sdl units include jedi-sdl.inc that already has the line directive). Note that all jedi-sdl code should be compiled in Delphi-compatible mode. To test that everything works, you can compile and run one of numerous demo programs included, e.g.Ĭd /JEDI-SDLv1.0/SDLSpriteEngine/Demos/Oxygene/ (where is the path where you placed jedi-sdl sources).Īlternatively, you can copy all *.pas and *.inc files from these directories to one chosen directory, and add only this chosen directory to your fpc.cfg.
![free pascal 2.0.2 free pascal 2.0.2](https://windows-cdn.softpedia.com/screenshots/Pyrite-Engine_2.png)
For the simplest scenario, just add the following lines to your fpc.cfg file: (when prompted for a password, simply press the Enter key)Īfter you downloaded (and eventually unpacked) JEDI-SDL sources, you want to be able to use these units in your programs. You can also download and browse current CVS sources, see JEDI-SDL SourceForge CVS for instructions. You can of course also download them from JEDI-SDL in case you need some bug fix or a unit not in the version shipped with FPC. Since version 2.2.2, most SDL units are included with FPC itself. More information is available at the libsdl-wiki.Īfter installing the SDL library itself on your system you'll need Pascal headers to be able to use SDL with FPC.
FREE PASCAL 2.0.2 HOW TO
This page is going to explain how to use SDL with Free Pascal, where to obtain the Pascal headers etc. It is used by video playback software, emulators, and popular gamesįor general information and documentation about SDL visit the SDL homepage. Simple Directmedia Layer or SDL is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.