@spotUP
REmoving the stdlib.h and that means i get further.
But get loads of errors,alot has to do with the fact the super problem i have. Saw that thread on utilitybase earlier today. To bad it didn't help.
But get some sdl errors aswell.
Have i forgot to set something?
Image.cpp:(.text+0x175c): undefined reference to `SDL_MapRGB'
Image.cpp:(.text+0x17c4): undefined reference to `SDL_FillRect'
lib/Image.o: In function `Image::clear()':
Image.cpp:(.text+0x1820): undefined reference to `SDL_FillRect'
lib/Image.o: In function `Image::Image(Image&, int, int, bool)':
Image.cpp:(.text+0x1904): undefined reference to `SDL_CreateRGBSurface'
lib/Image.o: In function `Image::Image(Image&, int, int, bool)':
Image.cpp:(.text+0x19e0): undefined reference to `SDL_CreateRGBSurface'
lib/Image.o: In function `Image::Image(char*)':
Image.cpp:(.text+0x1a30): undefined reference to `SDL_RWFromFile'
Image.cpp:(.text+0x1a40): undefined reference to `SDL_LoadBMP_RW'