Results 1 to 10 of 19

Thread: SDL 2.0 for Pascal

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Will you implement statically linking in your headers? I think this is one of the most benefits of SDL2 over SDL1.2 ...

    EDIT: Maybe I do something wrong but I got this errors on Linux:
    fpc "sdl2.pas" -Sd (im Verzeichnis: /home/markus/Projekte/SDL2Pas/Pascal-SDL-2-Headers-master)Kompilierung fehlgeschlagen.
    Free Pascal Compiler version 2.6.2 [2013/02/16] for i386
    Copyright (c) 1993-2012 by Florian Klaempfl and others
    Target OS: Linux for i386
    Compiling sdl2.pas
    sdl2.pas(5555,26) Error: Identifier not found "TXEvent"
    sdl2.pas(5555,26) Error: Error in type definition
    sdl2.pas(5582,27) Error: Identifier not found "PDisplay"
    sdl2.pas(5582,27) Error: Error in type definition
    sdl2.pas(5583,25) Error: Identifier not found "TWindow"
    sdl2.pas(5583,25) Error: Error in type definition
    sdl2.pas(5593,27) Error: Identifier not found "TWindow"
    sdl2.pas(5593,27) Error: Error in type definition
    sdl2.pas(5594,27) Error: Identifier not found "TWindow"
    sdl2.pas(5594,27) Error: Error in type definition
    sdl2.pas(5927,1) Fatal: There were 10 errors compiling module, stopping
    Fatal: Compilation aborted
    Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
    Must I include X11?

    EDIT2: Yes, that helps:
    Code:
    {$IFDEF LINUX}    
      uses  X,xlib;
       {$ENDIF}
    Last edited by Cybermonkey; 31-07-2013 at 10:25 AM. Reason: Answered my own question ...
    Best regards,
    Cybermonkey

Tags for this Thread

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
  •