User forums > Help

codeblocks beginner

(1/1)

benoie:

-------------- Build: Debug in binoytestProj (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g  -c /media/benoie/7068817868813E3A/Alpinetemp/ProjectCPP/binoytestProj/main.cpp -o obj/Debug/main.o
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
When I start immediately after installation wit code
#include <iostream.h>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}
How can i sort out the problem

stahta01:
Step1: Install the GNU GCC C++ Compiler on your computer!

Tim S.

benoie:
I installed gnu objective c++ compiler
still it is not compiling
any problem to set up the environment?

scarphin:

--- Quote from: stahta01 on June 12, 2015, 05:10:57 pm ---Step1: Install the GNU GCC C++ Compiler on your computer!

--- End quote ---

--- Quote from: benoie on June 17, 2015, 02:37:15 pm ---I installed gnu objective c++ compiler

--- End quote ---
A few links if it's still not clear:
mingw-builds 64-bit -> http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/
mingw-builds 32-bit -> http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/
tdm gcc -> http://tdm-gcc.tdragon.net/
Don't forget to configure executable paths in 'settings->compiler->toolchain executables'.

Navigation

[0] Message Index

Go to full version