also ich wollte sdl installieren, und habe mich strikt an die kurze Anleitung gehalten.
D.h. den Ordner JEDI-SDLv1.0 in /usr/share/lazarus/ und
Code: Alles auswählen
-Fi/usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_Mixer/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_Image/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_Net/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_ttf/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/smpeg/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SFont/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_Sound/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDLMonoFonts/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDLSpriteEngine/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/Cal3D/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/ODE/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDLCtrls/Pas
-Fu/usr/share/lazarus/JEDI-SDLv1.0/SDL_flic/Pas
Doch wenn ich das beispiel projekt kompilieren will mit
dann gibt er folgenden Fehler:fpc -Sd Oxygene.dpr
Ich habe, da ich noch so gut wie nichts mit Lazarus gearbeitet habe (komme von Delphi), keine Ahnung was das Problem ist.alexander@alexander-desktop:/usr/share/lazarus/JEDI-SDLv1.0/SDLSpriteEngine/Demos/Oxygene$ fpc -Sd Oxygene.dpr
Free Pascal Compiler version 2.2.0 [2007/09/01] for x86_64
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling Oxygene.dpr
Compiling /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.pas
jedi-sdl.inc(237,4) Warning: Illegal compiler directive "$THREADING"
sdl.pas(4114,1) Error: Can't create object file: /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.o
sdl.pas(4114,1) Fatal: Can't create object /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.o
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
alexander@alexander-desktop:/usr/share/lazarus/JEDI-SDLv1.0/SDLSpriteEngine/Demos/Oxygene$ fpc -Sd Oxygene.dpr
Free Pascal Compiler version 2.2.0 [2007/09/01] for x86_64
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling Oxygene.dpr
Compiling /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.pas
jedi-sdl.inc(237,4) Warning: Illegal compiler directive "$THREADING"
sdl.pas(4114,1) Error: Can't create object file: /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.o
sdl.pas(4114,1) Fatal: Can't create object /usr/share/lazarus/JEDI-SDLv1.0/SDL/Pas/sdl.o
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
Ich hoffe ihr wisst Rat.
Gruß Alexander