ubuntu下code::blocks无法编译 /bin/sh: 1: g++ not found 解决办法
2014-09-12 19:57
567 查看
linux下code::blocks无法编译运行提示 /bin/sh: 1: g++ not found 的解决办法
在ubuntu 12.04 软件中心中选装了codeblocks,安装完成后却连最简单的hello world 都无法编译运行。
编译时提示
/bin/sh: 1: g++: not found
运行时总提示
It seems that this file has not been built yet.
Do you want to build it now?
因为系统没有装C++编译器
安装相应编译器即可解决此问题(依据系统软件安装方式):
(ubuntu下)
sudo apt-get install g++
(Fedora下安装)
sudo yum install gcc-c++
在ubuntu 12.04 软件中心中选装了codeblocks,安装完成后却连最简单的hello world 都无法编译运行。
编译时提示
/bin/sh: 1: g++: not found
运行时总提示
It seems that this file has not been built yet.
Do you want to build it now?
因为系统没有装C++编译器
安装相应编译器即可解决此问题(依据系统软件安装方式):
(ubuntu下)
sudo apt-get install g++
(Fedora下安装)
sudo yum install gcc-c++
相关文章推荐
- Ubuntu下Code::Blocks无法编译 /bin/sh: 1: g++ not found 解决办法
- ubuntu下code::blocks无法编译 /bin/sh: 1: g++ not found 解决办法
- Ubuntu下Code::Blocks无法编译 /bin/sh: 1: g++ not found 解决办法
- ubuntu下eclipse无法编译 /bin/sh: 1: g++ not found 解决办法
- ubuntu系统下codeblocks编译时提示/bin/sh: 1: g++: not found
- Ubuntu下Code::Blocks无法编译/bin/sh:1:g++ not
- Ubuntu下code::blocks /bin/sh: g++: not found
- Ubuntu下code::blocks /bin/sh: g++: not found
- ubuntu上pushd命令执行错误(/bin/sh: 1: pushd: not found)解决办法
- 交叉编译:/bin/sh not found 解决办法
- 备忘-Linux下Code::blocks无法编译含有中文路径的解决办法
- opencv-3.1.0在Ubuntu系统上使用g++编译时出现“/usr/bin/ld: cannot find -lippicv ” 错误及其解决办法
- -/bin/sh: 命令:not found的解决办法
- ubuntu codeblocks升级13.12失败无法回退问题解决
- ubuntu中geany 编译C++ ./geany_run_script.sh:5 ./abc.cpp: not found问题解决
- 64bit ubuntu14.04编译PlatinumKit出现的arm-linux-androideabi-g++: not found错误解决方法
- ubuntu中geany 编译java--in/sh: javac: not found问题解决
- -/bin/sh: [命令/可执行程序]:not found的解决办法
- ubuntu apt-get /usr/bin/dpkg returned an error code 的解决办法
- ubuntu 14.04 编译android4.0 出现gcc-version.sh: line 11: cc: command not found错误解决方法