User forums > Help

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

(1/2) > >>

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:

--- Quote ---C;B
--- End quote ---
Get rid of the special chars in the path; i think it is a ";" or ":" I saw.

Tim S.

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.

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version