Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
56 user(s) are online (45 user(s) are browsing Forums)

Members: 0
Guests: 56

more...
Support us!
Recent OS4 Files
OS4Depot.net





Compiling for SDL ?
Just popping in
Joined:
2011/6/3 12:49
Posts: 185
Hi

It seems that there several implémentations/packages for SDL

So wich is the recommended package to install/use for C developpement for AmigaOS4 ? ditto for AmigaOS3 ?

Is there an OS3 & OS4 compatible SDL ? (I mean can compile the same C source for both OS)

How about SDL2 ? recommanded ? or less compatible ?

Thanks

Alain

   Report Go to top

Re: Compiling for SDL ?
Just popping in
Joined:
2015/7/17 1:32
From Sydney
Posts: 47
@thellier

Use SDL1.x if you want to support both. SDL2 is only on OS4.

   Report Go to top

Re: Compiling for SDL ?
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 285
@thellier

(with OS4 glasses on)

- SDL1 doesn't seem to be maintained
- SDL2 has seen active development, 2.0.6 release is likely

If you plan to use OpenGL1.x, no big differences.

If you plan to do some 2D blitting, SDL1 supports HW acceleration only in fullscreen mode. This would be possible to change, of course. SDL2 has compositing support.

Either way, it's not super hard to switch from SDL1 to SDL2. Takes maybe one weekend. (read the migration guide)

SDL2 is more future-proof if you want to support other current systems. Almost nobody on the official SDL forum talks about SDL1.

I have done some SDL2 work. Ask me anything! :)

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project