If you have the -devel packages, everything should work. So either you're still missing a pack (try listing all available *sdl* packages), or the SDL2 units you downloaded have their linking options set up wrong.
If you have the -devel packages, everything should work. So either you're still missing a pack (try listing all available *sdl* packages), or the SDL2 units you downloaded have their linking options set up wrong.
Yes, seems that libsdl2-image-dev is missing.
Or wait a minute, I think I had to change on Ubuntu the header of sdl2_image.pas.
If it looks like that
everything should be allright.Code:{$IFDEF UNIX} {$IFDEF DARWIN} IMG_LibName = 'libSDL_image-2.dylib'; {$ELSE} {$IFDEF FPC} IMG_LibName = 'libSDL2_image.so'; {$ELSE} IMG_LibName = 'libSDL2_image-2.so.0'; {$ENDIF} {$ENDIF} {$ENDIF}
Best regards,
Cybermonkey
Bookmarks