问题描述:codeblocks /bin/sh: g++: not found
I have installed codeblocks successfully
but when i try and compile the file i get
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
I need some help, i am used to using codeblocks in windows!!!
Thanks in advance
but when i try and compile the file i get
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
I need some help, i am used to using codeblocks in windows!!!
Thanks in advance
解决方法:
aptitude show g++ | grep State:
If this shows not installed, then
Otherwise, perhaps your PATH variable is not set right.
sudo apt-get install g++