User forums > Help
Building Error
Jeman:
So I used the default script:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
I click the Build button which looks like a gear and on the log i get this error:
-------------- Build: Debug in Tutorial 1 ---------------
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions -g -c "C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\Tutorial 1\main.cpp" -o obj\Debug\main.o' in 'C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\Tutorial 1' failed.
Nothing to be done.
It is a Console Application.
On C++.
With the GNU GCC Compiler
Solutions? ???
Alpha:
Do you have a compiler installed?
stahta01:
--- Quote from: Alpha on May 27, 2012, 01:33:45 am ---Do you have a compiler installed?
--- End quote ---
Do you have a C++ Compiler Installed?
In this case, it is looking for "mingw32-g++.exe" as the C++ Compiler executable.
Tim S.
Jeman:
Well i downloaded codeblocks-10.05mingw-setup.exe from the binaries section and it is supposed to install the compiler.
stahta01:
--- Quote from: Jeman on May 27, 2012, 02:10:33 am ---Well i downloaded codeblocks-10.05mingw-setup.exe from the binaries section and it is supposed to install the compiler.
--- End quote ---
I have no idea; if the user can turn off the installing of the C++ Compiler.
I would confirm the C++ Compiler was installed!
After that, I would turn on Full Compiler Logging.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version