Code::Blocks Forums
User forums => Help => Topic started by: Kermit870 on January 25, 2007, 01:42:49 am
-
I just installed the 1-24 nightly build, and placed both "wxmsw26u_gcc_cb.dll" and "mingwm10.dll" into the root CodeBlocks directory.
I then did a manual install of GCC 3.4.5. as per the MinGW installation page here:
http://wiki.codeblocks.org/index.php?title=MinGW_installation
I unzipped them all into C:\MinGW
Then, in Settings > Compiler and Debugger > Programs
I made sure the compiler's installation path was "C:\MinGW" Auto-detection selected the same path.
My default compiler is set to "GNU GCC Compiler"
But when I try to compile any projects, I get:
-------------- Build: Release in HelloWorld --------
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -O2 -Wall -c H:\josh\Desktop\Programming\Indie\Alpha\main.cpp -o obj\Release\main.o' in 'H:\josh\Desktop\Programming\Indie\Alpha' failed.
Nothing to be done.
--------------------------------------------------
A few forum searches indicate this is usually tied with incorrect compiler/nightly build setup. However, even though I thought I followed all the steps listed here:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows
Something is still wrong. Any advice?
-
Have you verified that the file mingw32-g++.exe exists in the folder C:\MinGW\bin ?
If it does NOT please try downloading the file with it again, I just fixed the hyper links on that file the http was having issues with the ++ I replaced the with %2B. This link with g++ in the name.
Tim S
-
Hey thanks a lot!
It was the second download on the minGW installation page that fixed the compile error. Now I get a successful build.
Cheers!