Here you are!
This is a discussion on Code::Blocks run problem within the C++ Programming forums, part of the General Programming Boards category; Here you are!...
Here you are!
No project == no compiler!
See the differences between post 23 and yours...
Start a new project, select the MinGw compiler... create a new source page, type in the hello world program... try again!
Eh, that's the good part about Code::Blocks: you can actually compile a file, instead of creating a project and a makefile and all the rest of it. The OP has at some point pressed F2, and needs to press F2 so that ze can see the logs again. (Or go to View->Logs.)
Logs are enabled already.
And, what do you mean "selct the Mingw compiler"?
1. I assume you installed the codeblocks-10.05mingw-setup.exe
(IT includes the GCC compiler and GDB debugger from MinGW as the sites says)
2. Open Code blocks
3. Go to settings --> Compiler and debugger.
4. Toolchain executables.
is there something in the "Compilers installation directory" ?
If not, you should find the MinGW in the CodeBlock Folder and link to it.
And now to create a projekt:
1. FILE -> NEW -> Projekt
2. Now find the "Console Application" and push the bottom "OK"
3. Choose C++ and name your projekt.
4. Now pick the GNU GCC Compiler.
You should now have a Folder named Sources (Or something like that) In that folder your Main.cpp file is, try to "BUILD AND RUN" it.
Doesnt it show you the "Hello World" now?
Last edited by lovelace; 09-20-2011 at 05:20 AM.