Ogre on code blocks

Hey there!
I just set up my code blocks and ogre.
Then i followed these steps

*** Compiler settings Tab ***

Other options Sub-Tab

-mthreads
-fmessage-length=0
-fexceptions
-fident

#defines Sub-Tab

NDEBUG
_STLP_NO_CUSTOM_IO
_STLP_USE_DYNAMIC_LIB

*** Linker settings Tab ***

Link libraries List

OgreMain
OIS

Other linker options List

-Wl,--enable-auto-image-base
-Wl,--add-stdcall-alias

*** Search directories Tab ***

Compiler Sub-Tab

$(OGRE_HOME)\stlport\stlport
$(OGRE_HOME)\include
$(OGRE_HOME)\include\OIS

Linker Sub-Tab

$(OGRE_HOME)\bin\$(TARGET_NAME)

After this, I build and run the project but i get this error
Process terminated with status -1073741819,
The exe runs for a few seconds and then that message pops up.
Also when i run any other cpp file i get the same error.
Any ideas?
Topic archived. No new replies allowed.