User forums > General (but related to Code::Blocks)
Day 0 Newbie:- Trying to get anything to work ! Help !
timmoore46:
Just downloaded it and typed into the editor 'Hello World' program.
It failed ! I'm using GCC in Linux and it wanted G++
How do I fix that ?
I'm very new to 'C' and this is first attempt using a book called 'C programmimg for Absolute Beginners' Que, they said use Code::Blocks, so here I am.
Any thoughts very welcome.
A puzzled,
Tim
BlueHazzard:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
timmoore46:
I am running Code::Blocks 10.05 64 bit :BlocksVersionNumber on MyOperatingSystem Linux
(version Ubunti ). The compiler I use is GCC
When I ...load
/* Print message to screen */
#include <stdio.h>
main()
{
printf("Just a test of Hello World");
reurn 0;
}
Description of problem.
this message arrives:-
-------------- Build: default in Hello ---------------
Compiling: test.cpp
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
Build log:
--- Code: ---Paste full build log here.
--- End code ---
Crash report:
--- Code: ---Paste the contents of codeblocks.RPT here (if Code::Blocks crashed).
--- End code ---
Not sure what to do !!! : (((
stahta01:
Install a C++ Compiler.
If Compiler Installed, configure CB to use it. http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps
Please read the FAQs.
http://wiki.codeblocks.org/index.php?title=FAQ
At least read these three
http://wiki.codeblocks.org/index.php?title=FAQ-General#Q:_What_is_Code::Blocks.3F
http://wiki.codeblocks.org/index.php?title=FAQ-General#Q:_What_Code::Blocks_is_not.3F
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Tim S.
Jenna:
This should lead you in the right direction:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
especially the last line.
And please use code-tags, if you post code or log-text (the hash [#] button).
Navigation
[0] Message Index
[#] Next page
Go to full version