Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualbluehailex

Posted 07 August 2012 - 04:44 PM

Try putting -lSDL_image at the top. The problem is you are trying to use IMG_Load(), which is defined in SDL_Image. The linker can be a bit stupid with Code::Blocks, so you might have to rearrange the options.

Also, I don't see a need for SDL_image.lib to be in you output directory.

#2bluehailex

Posted 07 August 2012 - 04:42 PM

Sometimes the order of your linker options can make a difference. Try putting -lSDL_image at the top. The problem is you are trying to use IMG_Load(), which is defined in SDL_Image. The linker can be a bit stupid with Code::Blocks, so you might have to rearrange the options.

Also, I don't see a need for SDL_image.lib to be in you output directory.

#1bluehailex

Posted 07 August 2012 - 04:41 PM

Sometimes the order of your linker options can make a difference. Try putting -lSDL_image at the top. The problem is you are trying to use IMG_Load(), which is defined in SDL_Image. The linker can be a bit stupid with Code::Blocks, so you might have to rearrange the options.

PARTNERS