1) I do not like your project file... The project file should be in the same folder as the source file, or in a sub folder of the project directory, but not like you do:
yourFolder
|- show_image.c
|- rubiks_cube_orange.bmp
|- SOMEFOLDER_I_DO_NO_KNOW
|- Your project file.cbp
It should look more like this:
yourFolder
|- Your project file.cbp
|- src
| |- show_image.c
|- res
|- rubiks_cube_orange.bmp
2) Why do you add the image to the project? Codeblocks can do nothing with the image. Images are not related with your application. (Unless you do not compile it within the exe, but this is done only on windows as far as i know)
3) I simply can not understand where your problem is...
3.1) Do you have compiling problems?
If yes post a build log. If you can not copy and paste it from within codeblocks you can say codeblocks to put it in a log file and post the log file: Settings->Compiler->Build options (you my have to klick on the > arrow until the tab appears)->Save build log to HTML file->Always output the full command line
3.2) Do you have a runtime problem (your application crashes, does the wrong thing)?
Implement proper error handling and error output in your program. Codeblocks is not responsible for your error handling and for this, this forum is the wrong place as statha01 has posted
3.3) If it runs within codeblocks, but not outside codeblocks see 3.2)
I simply do not know how to help you, because i do not understand what your problem is.
You can try to explain it better with as many details as possible. For example like this:
1) Open codeblocks
2) Create a new console project
3) Write the following code:
A minimal code example to reproduce your problem
4) Hit Build->Build an run
5) Outcome: I get a window but no image is displayed
6) Expected behaviour: I get a window with an image
ecc...