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 的下载地址:请点这里
相关推荐
liguojia 2020-10-20
xiaonamylove 2020-10-16
Kafka 2020-09-18
woaimeinuo 2020-10-21
LUOPING0 2020-09-11
NANGEBOKE 2020-08-15
benico 2020-07-28
zghover 2020-07-28
haitianisgood 2020-07-21
大胡子抽雪茄 2020-07-19
学峰的学习笔记 2020-07-18
fenxinzi 2020-06-25
数据齿轮 2020-06-25
乌冬面 2020-06-21
CobingLiu 2020-06-16
fanhuasijin 2020-06-14
spylyt 2020-06-14
xcznb 2020-06-13