Code::Blocks Forums

User forums => Help => Topic started by: benoie on June 12, 2015, 05:01:44 pm

Title: codeblocks beginner
Post by: benoie on June 12, 2015, 05:01:44 pm

-------------- 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
Title: Re: codeblocks beginner
Post by: stahta01 on June 12, 2015, 05:10:57 pm
Step1: Install the GNU GCC C++ Compiler on your computer!

Tim S.
Title: Re: codeblocks beginner
Post by: benoie on June 17, 2015, 02:37:15 pm
I installed gnu objective c++ compiler
still it is not compiling
any problem to set up the environment?
Title: Re: codeblocks beginner
Post by: scarphin on June 17, 2015, 03:41:11 pm
Step1: Install the GNU GCC C++ Compiler on your computer!
I installed gnu objective c++ compiler
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/ (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/ (http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/)
tdm gcc -> http://tdm-gcc.tdragon.net/ (http://tdm-gcc.tdragon.net/)
Don't forget to configure executable paths in 'settings->compiler->toolchain executables'.