Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

sdl2_pas

Some pascal demos using sdl2.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

sdl2_pas

Some pascal demos using SDL2. Source of SDL2 headers, BGRABitmap and LCL-utils included.

Compile the programs source with:

cd /directory/of/sdl2_pas/src

fpc -Mobjfpc -B -FUunits -Fu./sdl2-pas nameofprogram.pas


For source using BGRABitmap, compile it with:

cd /directory/of/sdl2_pas/src

fpc -B -Mobjfpc -FUunits -Fu./sdl2-pas -Fu./bgrabitmap -Fu./lcl-dep nameofprogram.pas