Code::Blocks Forums

User forums => Help => Topic started by: marcot264 on February 12, 2015, 01:29:04 am

Title: It seems that your project has not built yet. Do you want to built it now?
Post 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))
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: stahta01 on February 12, 2015, 02:01:42 am
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.
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: marcot264 on February 12, 2015, 04:21:38 pm
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))
 
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: marcot264 on February 12, 2015, 07:32:35 pm
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
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: stahta01 on February 12, 2015, 08:00:01 pm
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.
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: marcot264 on February 12, 2015, 08:32:57 pm
(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.
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: oBFusCATed on February 12, 2015, 08:45:24 pm
Where have you installed it?
Does mingw32-g++.exe runs correctly if you run it from the command line?
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: marcot264 on February 13, 2015, 01:25:37 am
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.
Title: Re: It seems that your project has not built yet. Do you want to built it now?
Post by: oBFusCATed on February 13, 2015, 02:17:52 am
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.