image - "Undefined Reference To 'IMG_Load'" CodeBlocks and SDL_Image Error -
i'm learning sdl through lazy foo's tutorial, can't proceed further img_load doesn't seem work. tried setting says, doesn't work. put include files include folder, , lib files lib folder. found there x86 , x64 folders in lib folder. when tried x64 (because have 64-bit system)it worked fine, codeblocks told me suggestions (like when wrote "img" showed suggestion "img_load" (which means library got initalized?)), when come compiling code, happens: http://puu.sh/3eqa5.png. when try x86 version, exact same error.
i had little search around internet, , find few threads, of them abandoned. closest got answering problem this: http://www.dreamincode.net/forums/topic/118299-sdl-image-error-sdl/ guy solved problem downloading problem linux can use, not windows. }
i'm running windows 7 64-bit, codeblocks 12.11, sdl 1.2.15 , sdl_image 1.2.12.
i don't know problem is!
you should go compiler , debugger settings again , under linker settings tab paste: -lsdl_image
Comments
Post a Comment