Code::Blocks Forums
User forums => Help => Topic started by: mark.coffman8713 on October 08, 2008, 08:45:52 pm
-
I am fairly new to programming and just switched from python to c++ for my computer science class. I downloaded code::block for my pc and everything goes fine until i try to run a program, e.g. "Hello, World!". I select build and run, and get the message "It seems this program has not been built yet. Would you like to build it now?". I click yes and it returns the same message, and keeps going to that message every time i click yes... Any idea what's going on? I've reinstalled the program a couple times...
-
p.s. if i just click build, i get this message...
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions -O2 -c "C:\Program Files\CodeBlocks\CSCI\Homework5\main.cpp" -o obj\Release\main.o' in 'C:\Program Files\CodeBlocks\CSCI\Homework5' failed.
Nothing to be done.
-
What version of Code::Blocks?
What version of Windows?
What version of the MinGW GCC Compiler?
If you are running Windows Vista, I suggest downloading the newest MinGW GCC 3.4.5 Compiler. The one packaged with Code::Blocks 8.02 had two bugs I know of. Did not work with Vista right and False "Insert disk into Drive D" Warning.
Tim S
-
The one packaged with Code::Blocks 8.02 had two bugs I know of. Did not work with Vista right and False "Insert disk into Drive D" Warning.
The time we packaged C::B with this release of MinGW(GCC) we did not know of the bug (neither the MinGW team knew). So it's best if you download the current release of the MinGW compiler suite that has this bug fixed, namely gcc-3.4.5-20060117-3:
...which is:
http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz
and:
http://downloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.5-20060117-3.tar.gz
BTW: A search the forums would have revealed that, too.