I am making a 2d rts game, and while I am pretty knowledgable about setting up client/server gunk and that sort of thing, I have no experience with graphics. Searching around, I decided to go with SDL as it seems to be about what I want/need and should perform pretty well.
So far I have hit one major snag, the snag being that I can't load a TGA image to a SDL surface (OMG I feel like an idiot ).
My thought was to keep it as simple as possible starting out, so I downloaded the latest SDL Image library, grabbed their function to load a TGA, and dropped it and everything it requires in. I only get two errors, and those two I believe are not errors in putting in the code.
The errors are both "error: invalid conversion from 'void*' to 'Unit8*'
They appear on lines 206 and 250 of IMG_tga.cpp.
I hesitate to post the source up because it's pretty dang long (hoping to catch someone else that uses SDL). If I need to, let me know (I probably do).