Code::Blocks Forums
User forums => Help => Topic started by: duketoga on November 28, 2007, 04:40:27 am
-
Well, this is puzzling. I followed the instructions for installaton of the nightly build on my WinXP system. I installed MinGW, then the nightly build plus 2 dlls in main directory as instructed. Now, when I try to compile the default console 'Hello World' program, I get this:
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions -g -I"C:\Program Files\Code_blocks" -IC:\MinGW -I"C:\C++\Test1\main.cpp" -o obj\Debug\main.o' in 'C:\C++\Test1' failed.
Nothing to be done.
Then running the program gives: Process returned 0 (0x0) execution time : 0.000 s
Press any key to continue.
Any ideas what I am doing wrong???
Thanks, -Duke
-
Your compiler is not working. Possibly it's not installed properly.
-
Hi, I don't see how that can be the case. I installed MinGW as instructed, and Code::blocks autodetected it and added the paths and .exe for mingw32-gcc.exe, mingw32-g++.exe, etc. for me.
So how can it not be installed correctly or called correctly from blocks?
Thanks for any help!
-Duke
-
UPDATE: I simply hit "autodetect" again and it worked this time. Very odd since both compilers were there, the paths were set and they were in the /bin directory beforehand.
Thanks,
-Duke