Ubuntu下Code::Blocks无法编译/bin/sh:1:g++ not
来源:互联网 发布:好莱坞电影推荐 知乎 编辑:程序博客网 时间:2024/06/06 03:22
今天在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++
0 0
- 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
- Ubuntu下code::blocks /bin/sh: g++: not found
- ubuntu下eclipse无法编译 /bin/sh: 1: g++ not found 解决办法
- ubuntu系统下codeblocks编译时提示/bin/sh: 1: g++: not found
- 在ubuntu server 14 下,编译redis 出错: cc adlist.o /bin/sh:1:cc:not found
- Ubuntu下安装PyQuery出现:ERROR: /bin/sh: 1: xslt-config: not found
- 在Ubuntu下用Code::Blocks编译x264源码
- Ubuntu 11.04 Code::Blocks 下编译OpenCV文件
- 编译错误: /bin/sh: 1: pushd: not found的问题
- 转 编译错误: /bin/sh: 1: pushd: not
- 编译错误: /bin/sh: 1: pushd: not found的问题
- 编译错误: /bin/sh: 1: pushd: not found的问题
- Ubuntu下 Code::Blocks安装
- Ubuntu 下安装 Code::Blocks
- Ubuntu 下安装 Code::Blocks
- ubuntu下安装code::blocks
- SNMP的5种协议数据单元
- PAT1047编程团体赛(20)
- mirantis openstack安装后处理
- [Java]简易使用JavaDoc生成说明文档
- iOS开发笔记--先弄清楚这里的学问,再来谈iOS内存管理与优化(一)
- Ubuntu下Code::Blocks无法编译/bin/sh:1:g++ not
- CountDownLatch
- No Interfaces Available In Wireshark Mac OS X
- Android屏幕适配全攻略1-从dp、sp、px说起
- c++ MFC 可改变时区的模拟时钟
- runtime基础教程(2)-OC的消息传递
- Request processing failed; nested exception is org.apache.ibatis.binding.BindingException:
- 经典洗牌算法(Knuth-Durstenfeld Shuffle)
- 文件IO,多线程,线程同步