Code::Blocks Forums
User forums => Help => Topic started by: marcot264 on February 12, 2015, 01:29:04 am
-
Before I have Installed MinGW CB worked fine, but now I can't build any project.
It appears evrytime I want to run/build a project this window, and if i click on "si" (yes), the window doesn't dissapear.
(http://s16.postimg.org/65p5sucx1/Immagine.png)
PLEASE, HELP ME...
Edit:
The Build Log
Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Marco\Documents\lol\bin\Debug\lol.exe" (in C:\Users\Marco\Documents\lol\.)
Process terminated with status -1073741510 (896 minute(s), 43 second(s))
-
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Post the build log in code tags.
Tim S.
-
Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Marco\Documents\lol\bin\Debug\lol.exe" (in C:\Users\Marco\Documents\lol\.)
Process terminated with status -1073741510 (896 minute(s), 43 second(s))
-
it gives me also this if i change the option of the window:
-------------- Build: Debug in lol (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -o bin\Debug\lol.exe obj\Debug\main.o
Execution of 'mingw32-g++.exe -o bin\Debug\lol.exe obj\Debug\main.o' in 'C:\Users\Marco\Documents\lol' failed.
-------------- Run: Debug in lol (compiler: GNU GCC Compiler)---------------
Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe
-
Check that the CB settings for the compiler toolchain are set correctly.
How many Mingw GCC have you installed and what directory did you install them into?
Tim S.
-
(http://s4.postimg.org/6i4fdcj2l/Cattura_di_schermata_63.png)
I got this settings. Although I did a C project, it runs g++, not gcc...
I installed mingw32-base.
Just that.
-
Where have you installed it?
Does mingw32-g++.exe runs correctly if you run it from the command line?
-
I did notice that i didn't have g++ in the MinGW folder (although it was a C Project, it uses g++, not gcc).
Now it runs.
But when i want to use the compiler by default, where do I have to look up?
Because before, when I didn't already have MinGW installer, it did run.
-
Probably you've used the installer of codeblocks that install the mingw compiler somewhere in program files/codeblocks/... and this is why it has worked.