首页 / 操作系统 / Linux / Ubuntu下Code::Blocks无法编译 /bin/sh: 1: g++ not found 解决办法
Linux下Code::Blocks无法编译运行提示 /bin/sh: 1: g++ not found 的解决办法今天在Ubuntu 12.04 软件中心中选装了Code::Blocks,安装完成后却连最简单的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++Code::Blocks 的详细介绍:请点这里
Code::Blocks 的下载地址:请点这里Ubuntu 12.04 下安装Code::Block 见 http://www.linuxidc.com/Linux/2012-10/73116.htm更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2本文永久更新链接地址