User forums > Help
Help with Basic Compiling
(1/1)
Aussiekid:
Ok, After installing Code Blocks and the GNU GCC Compiler I get this error
--- Code: ----------------- Build: Debug in SayHello ---------------
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\Michael\Desktop\MyProjects\SayHello\main.cpp -o obj\Debug\main.o' in 'C:\Users\Michael\Desktop\MyProjects\SayHello' failed.
Nothing to be done.
--- End code ---
while trying to run this code
--- Code: ---#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
--- End code ---
Can anyone help?
Jenna:
You obviously did not search the forum and the web, that violates our for um rules !!
You did not provide any information about your setup, that's another violation of our rules !
Why are people unable to give basic information like C::B-version (probably build-date), OS and version and compiler and version ?
The only thing I can see is, that you are on windows, but there are many version of that "OS" out there, and there might be incompatibilities with MinGW, especially on vista and win7, so some more information is needed, but first make sure your compiler is configured correctly.
Navigation
[0] Message Index
Go to full version