@All
Those who do porting work from time to time meet with the SFML library :
https://www.sfml-dev.org/But so far no port were done for AmigaOS4.
The good thing about SFML that it can be used not in whole, but partly : via necessary libraries. I.e. if you need just Audio , you can use just audio library, if you need just network, you can use just network library, etc.
Lately i working on some port which do use SFML library for audio and for network, so, i give it a shot and making ports of those modules:
-- System
-- Audio
-- Network
Those was easy , because for Audio they use openal/vorbis/ogg, and there i were only in needs to fix endianes in ogg reader (simple changing ov_read() to take big-endian and not litle endian). For network it wasn't also heavy enough, there were some missing defines and stuff. And system were compile as it, just with some small changes in includes and cmakefiles.
Modules which is _not_ ported currently:
-- Graphics
-- Window
That probabaly understandable why : there need to implemenent native window manager over intuition, etc, so some real work to be done, but that to be seen if anyone ever will need it so if it will be ever worth the hassle to spend time on.
As always you can grab it from os4depot (in upload query for now), there i put both newlib and clib2 versions, and even some examples (socket, ftp and sound ones).
Need to note, that for clib2 it was a little bit more easy than for newlib, because for newlib i had to implement own nanosleep() while Andrea's clib2 already have it, and i were in problems all over the place because of errors about "wstring" stuff and had to add newlib-os4-hacks for. + newlib miss more socket defines in compare with clib2 (not that they ever used, but still). But both versions should work the same of course.
Hope it will be of some use for some of us :)