Just can't stay away ![Just can't stay away](https://www.amigans.net/uploads/rank3dbf8ea81e642.gif)
Joined: 2007/7/14 21:30 Last Login
: 7/27 13:31
From Lothric
Group:
Registered Users
|
@AmigaBlitter
Regarding "test" directory. I think sdl2-config has problem in native env - or I just can't use it properly. Anyway, after setting prefix as /sdk/local/newlib, as with sdl(1)-config, it was possible to configure tests. This assumes that you have SDK:local/newlib/include/SDL2 and libs in SDK:local/newlib/lib.
Then, I had to hack sdl2-config to add -use-dynld -ldl, to make tests link in my own environment.
Please note that you need to copy also build/SDL2_test.a into SDK:local/newlib/lib/.
I believe there has to be some configure script modifications to fix sdl2-config for natives.
Oh, and BMP loading is broken, image tests didn't work. I will open a ticket.
Comments allowed...
|