User forums > Help
Code Blocks v10.05 is not building or running my program
(1/1)
emark.mark20:
Hi guys, im having trouble using my c++ program and i was wondering if anyone could help
you see, i just installed code block to my laptop and my pc. the problem is that after i typed in a program, i tried to build and run but nothing happens. no black window, no message on the build log, nothing.
Im not sure if i have installed it incorrectly, if something is wrong with the compiler, or if my computer systems is inadequate, my c++ class at colege showed us the program and it worked fine, i dont get why it wont build programs on my computer
any help will be appreciated. thanks.
Alpha:
Without very many details (OS, compiler, etc.), it is difficult to say what the problem is; however, one of the following wiki-pages may have the section of setup you missed (it is most likely a setup problem, not a hardware issue).
* Installing Code::Blocks
* Installing a supported compiler
* Creating a new project
emark.mark20:
im using a windows 7 system.
Alpha:
Did you use installer with MinGW bundled (codeblocks-10.05mingw-setup.exe)?
If not, did you install MinGW (or TDM-GCC) to the default path of C:\MinGW?
* If you did not install it, Code::Blocks will not be able to do anything because it needs a compiler.
* If it was not installed to C:\MinGW, Code::Blocks will need to be told where to find it.
-Open Settings->Compiler and debugger...->Toolchain executables (tab) and select the location of the MinGW folder for the Compiler's installation directory box.
Navigation
[0] Message Index
Go to full version