User forums > Help
gcc on Ubuntu 11.04
GiuliaReis:
When i build the application the gcc compiler is not found:
-------------- Build: Debug in FirstTry ---------------
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
however in the terninal window:
gcc -v gives gcc version 4.4.5.
stahta01:
--- Code: ---g++ -v
--- End code ---
gives what?
Did you install the C++ and C Compilers? Or, only C Compiler?
Tim S.
GiuliaReis:
I installed the g++, do I need more? (debugger)
MortenMacFly:
--- Quote from: GiuliaReis on January 24, 2011, 08:25:26 pm ---I installed the g++, do I need more? (debugger)
--- End quote ---
Depends on your distro. Sometimes the debugger is bundled, sometimes not. Just search for "gdb" through the packages and decide upon the result. If you plan to develop with special libraries in mind, install these as well.
Jenna:
--- Quote from: GiuliaReis on January 24, 2011, 08:25:26 pm ---I installed the g++, do I need more? (debugger)
--- End quote ---
Do you instal gcc or also g++.
g++ has an own package and is not automatically installed with gcc .
Navigation
[0] Message Index
[#] Next page
Go to full version