@Sinan
Quote:
How do I make the library for SDL2 ?
To build irrliht for SDL2 you need a bit change include/IrrCompileConfig.h. Find at the end where amigaos4 ifdefs placed and replace this:
#define _IRR_COMPILE_WITH_SDL_DEVICE_
by this:
#undef _IRR_COMPILE_WITH_SDL_DEVICE_
#define _IRR_COMPILE_WITH_SDL2_DEVICE_
And then rebuild it usually.
I do not 100% remember if SDL2 version is all good and fine, as it was experemental more or less, and everything irrlicht based is still was and are SDL1 based because official irrlicht devs still on SDL1, and that SDL2 addon is my own stuff for testing/future stuff. But that you can test to build SDL2 version of irrlicht and few examples for SDL2 (examples build just like you say : make -f Makefile.amigaos4 SDL2=1)
Quote:
For Clib2 version, do I add -mcrt=clib2 in the makefile.amigaos4 ?
Yes, and if i remember right, one function need to be commented out as it present in clib2 itself, but when you will compile you will see which one/where.