Results 1 to 5 of 5

Thread: Version 2.2 of SDL2-for-Pascal Units Released

  1. #1

    Version 2.2 of SDL2-for-Pascal Units Released

    EDIT: It would be great, if you could publish the following text. If you like, you could use the article image from Attention, the text there is not identical. Best regards, Matthias.

    Version 2.2 of the SDL2-for-Pascal Units got released. It took nearly two and a half years to update the SDL2-for-Pascal Units to be quite up-to-date with the latest version of SDL2. We got a really updated package now. For you this means, there is no good reason not to start using SDL2 in Pascal to realize your (game) projects, be it with Free Pascal or Delphi, on Linux, Windows or MacOS. ;-) – Other compilers and OS’es work too, probably. Feel invited to craft some patches to make it work with your compiler/OS, too.

    I’d like to thank all contributors for their efforts. I’d also like to thank suve aka SuperVegeta, the co-maintainer and long-term PGD member, for the great cooperation, without which some large improvements would be missing in this release and some serious mistakes wouldn’t have been caught before merging the code :-)! I'd like to thank AthenaOfDelphi for hosting the repo on the PGD GitHub Account (and preparing the SDL3-for-Pascal repo already!)

    Here are the offical release notes:

    • SDL2 unit is up-to-date with at least version 2.0.14 of the SDL2 library (exception
    • many aliases got replaced by typed enums
    • add single and double pointers for all types (thanks furious-programming)
    • update SDL_ttf.pas to latest version 2.21.0
    • replace data types by c data types (see PR #29)
    • add folder structure (see PR #27)
    • many bugfixes

    Happy New Year and Happy Coding!
    Last edited by SilverWarior; 03-01-2024 at 07:48 AM. Reason: Added external image link before promoting to News article

  2. #2
    Impressive work on maintaining SDL2 headers for pascal with latest version of SDL2. From what I have read here and there there were quite a lot of changes made on SDL v2.2 which meant a lot for work for you guys maintaining headers up to date.

    PS: I have promoted your thread into News article

  3. #3
    Thanks for your words and thanks a lot for publishing!

  4. #4
    Well, that are good news. I hope I can now compile on macOS on Apple Silicon. Never got an answer to my post:
    Now I am on macOS Sonoma - still no success in compiling. But maybe with the new Units? I will try it in the next few days.

    EDIT: Still doesn't work. It is claimed that the units work with FPC and macOS. But how?
    Last edited by Cybermonkey; 14-01-2024 at 07:10 PM.
    Best regards,

  5. #5
    Cybermonkey, вероятнее всего, на это вопрос вам ответят только сами разработчики SDL.

    Google translate:
    Cybermonkey, most likely, only the SDL developers themselves will answer this question for you.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts