Hey,
Having had a look at SDL_gfx, it looks perfect for a few elements of my
project, but I am having a little problem.
I create a new DLL project in Dev-C++, and add that the .c & .h files, and
go to compile the project, but I get a few errors:
Line 3012 in C:\Dev-Cpp\Tane\SDL_gfx\SDL_gfxPrimitives.c
[Warning] In function int filledpieColor(SDL_Surface *, short int, short int, short int, short int, short int, unsigned int)': assignment to
Sint16
*’ from `Uint16 *’ changes signedness
Line 346 in C:\Dev-Cpp\Tane\SDL_gfx\SDL_rotozoom.c
[Warning] In function void transformSurfaceRGBA(SDL_Surface *, SDL_Surface *, int, int, int, int, int)': ANSI C++ forbids implicit conversion from
void *’ in assignment
Line 500 in C:\Dev-Cpp\Tane\SDL_gfx\SDL_rotozoom.c
[Warning] In function void transformSurfaceY(SDL_Surface *, SDL_Surface *, int, int, int, int)': ANSI C++ forbids implicit conversion from
void *’ in
assignment
Has anyone come over the problem before, and if so how did you solve it?
Other than that, is there a pre-compiled Win32 version of the SDL_gfx
library? If so, it would be a great help to me. Also, do I need to compile
a static lib as well, to use as a linker file, or once compiled can I use it
right away?
Thanks
Tane
http://tane.cream.org