Code::Blocks Forums

User forums => Help => Topic started by: TedShark on February 12, 2011, 07:44:36 pm

Title: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: TedShark on February 12, 2011, 07:44:36 pm
-------------- Build: Debug in first ---------------

Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions  -g     -c D:\C;B\CodeBlocks\projects\first\main.cpp -o obj\Debug\main.o' in 'D:\C;B\CodeBlocks\projects\first' failed.
Nothing to be done.

what do i do? i have Cb 10.05, i am using gnu gcc compiler, my language is c++, i am trying to make the hello program, i have searched this youtube and other stuff and i tried dowloading the gnu collection and that was just confusing i think it can with a compiler cus i used the c++ for dummies cd
can anyone please help me ive been stuck on this for like 3 months and i would like to go foreward in my studying
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: stahta01 on February 12, 2011, 08:56:36 pm
Quote
C;B
Get rid of the special chars in the path; i think it is a ";" or ":" I saw.

Tim S.
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: tam0009 on June 20, 2011, 09:34:22 pm
How Do I get rid of the special characters in the path?

Code block won't compile anything for me. Compiler is installed jGrasp works fine.

Heres the error message:

Quote
Compiling: main.cpp
Execution of 'g++.exe -Wall -fexceptions  -g     -c "C:/Users/Andy/Dropbox/Software Construction/Project 1/Dunstan and Dragons/main.cpp" -o obj/Debug/main.o' in 'C:\Users\Andy\Dropbox\Software Construction\Project 1\Dunstan and Dragons' failed.
Nothing to be done.
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: wlanhans on June 26, 2011, 10:16:01 am
Hi!

I have exactly the same problem!

CodeBlocks says:

 Execution of 'mingw32-g++.exe  -o C:\Users\hans\Desktop\Untitled1.exe C:\Users\hans\Desktop\Untitled1.o' in 'C:\Users\hans\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CodeBlocks' failed.
Nothing to be done.

It would be great if anyone knew the solution!!

wlanhans
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: ouch on June 27, 2011, 09:47:33 pm
have you guys checked your toolchain executable paths? Seems like codeblocks can't find them.
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: tam0009 on June 30, 2011, 01:50:01 am
Quote
ouch:
have you guys checked your toolchain executable paths? Seems like codeblocks can't find them.

How do I check that?
Title: Re: -- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa
Post by: ouch on June 30, 2011, 05:43:12 pm
settings->compiler and debugger->toolchain executables

be sure the path is correct and that the right files are even being called for the desired action.

there is also an additional paths tab to add more paths if your whole toolchain is spread between different directories.