Results 1 to 9 of 9

Thread: SDL on Delphi XE2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The SDL headers are not really optimized for Delphi XE2 and I think for it to work on Mac OS X, you will to tweak a few compiler conditions in JEDI-SDL.inc. If I remember correctly, if compiled with Delphi on desktop machines, it assumes Windows is used as its platform.

    With SDL 1.2 on iOS you have two problems:
    - SDL 1.2 does not work on iOS, you need SDL 1.3/2.0 (try these headers: https://github.com/Stoney-FD/sdl13-pascal <-- They worked for me in the past (Disclaimer: I wrote them), but are pretty much alpha, if not pre-alpha)
    - You can't link against dynamic libraries
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  2. #2
    Thanks for reply.

    ¿ SDL in iOS can't link against dynamic libraries ?
    I download by mercurial SDL2.0 from
    http://hg.libsdl.org/SDL and I build in xcode file library "libSDL2.a"
    ¿ I can't work like windows and put in project folder the library "libSDL2.a" ?

    If I can't complile for MacOS, no problem, but I like port my games to iOS.

    Have you a small example in free pascal for test SDL in iOS ?

    Thanks.
    www.kotai.es
    www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
    www.miniracingonline.com

Bookmarks

Posting Permissions

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