Code::Blocks problem with SDL

Ok so I have set up code blocks for SDL in my flash drive and it is working perfectly. Now i've created new project in destkop folder and set it up the same way. When I click build it says G:\Luka\SDL2-2.0.3\lib\x86\SDL2main.lib(.\Release\SDL_windows_main.obj)(.text[_ShowError]+0x12)||undefined reference to `_imp____iob_func'|


Or sometimes ID.exe has crashed. :/
Topic archived. No new replies allowed.