News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

-- Build: Debug in first --Compiling: main.cpp Execution of 'mingw32-g++.exe -Wa

Started by TedShark, February 12, 2011, 07:44:36 PM

Previous topic - Next topic

TedShark

-------------- 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

stahta01

QuoteC;B
Get rid of the special chars in the path; i think it is a ";" or ":" I saw.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

tam0009

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.

wlanhans

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

ouch

have you guys checked your toolchain executable paths? Seems like codeblocks can't find them.

tam0009

Quoteouch:
have you guys checked your toolchain executable paths? Seems like codeblocks can't find them.

How do I check that?

ouch

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.