User forums > Help
code;;blocks not bulding in ubuntu can you help plese
(1/1)
missbrittany:
all i had dun was use the wizard> console application >then tried to build it and run . and i get this code
i can run it under windows but i am now running all my computers in Linux
this is what i a compiling
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Brittany!" << endl;
return 0;
}
code i am getting when i try to compile it >>
------------- Build: Release in newcplus ---------------
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
or is this normal in Linux and every thing is OK As you get a run windows in Microsoft windows YOU GET Thank you ps it is highlighted in red
stahta01:
It is normal when you do NOT have the C++ compiler installed.
I suggest installing the GCC C++ Compiler.
Tim S.
missbrittany:
Thank you for helping ps gobjc++-4.6-arm-linux-gnueabihf 4.6.3-1ubuntu5cross1.63 will this one work
stahta01:
--- Quote from: missbrittany on April 29, 2012, 10:42:23 pm ---Thank you for helping ps gobjc++-4.6-arm-linux-gnueabihf 4.6.3-1ubuntu5cross1.63 will this one work
--- End quote ---
You need to ask this question on an Ubuntu site; after YOU state the information on the system is supposed to run the compiled code.
If you are running the code on a Arm system then it might be right; if not, then it is WRONG.
Tim S.
oBFusCATed:
--- Quote from: missbrittany on April 29, 2012, 10:00:55 pm ---/bin/sh: g++: not found
--- End quote ---
--- Quote from: missbrittany on April 29, 2012, 10:42:23 pm ---Thank you for helping ps gobjc++-4.6-arm-linux-gnueabihf 4.6.3-1ubuntu5cross1.63 will this one work
--- End quote ---
Will it work? I see no difference between g++ and gobjc++...
Read this please: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29
Navigation
[0] Message Index
Go to full version