User forums > Help

compilation problem

(1/3) > >>

asqz:
When i'm trying to build my code  :

#include <iostream>

using namespace std;

int main()
{
cout << "Hello world!" << endl;
return 0;
}

An error message is write :

-------------- Build: Debug in triangle ---------------

Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\Guillaume\codeblock\triangle\main.cpp -o obj\Debug\main.o' in 'C:\Users\Guillaume\codeblock\triangle' failed.
Nothing to be done.

Jenna:
Does mingw32-g++.exe exist in the bin-folder below the compilers installation directory ?

xunxun:
I think your compiler's configure in C::B is not right.

asqz:
In the file : C:\MinGW\bin
I have this applications : mingw32-gcc, mingw32-gcc-4.5.0, mingw32-make, mingw-get... and other stuff but no mingw32-g++.exe

How to know if this is a compiler's configure problem ?

Thx all

Jenna:

--- Quote from: asqz on November 14, 2010, 05:46:24 pm ---In the file : C:\MinGW\bin
I have this applications : mingw32-gcc, mingw32-gcc-4.5.0, mingw32-make, mingw-get... and other stuff but no mingw32-g++.exe

How to know if this is a compiler's configure problem ?

Thx all

--- End quote ---

If you do not have g++.exe (instead of mingw32-g++.exe) or sometghing similar, you just have no c++ compiler installed.

Navigation

[0] Message Index

[#] Next page

Go to full version