Ubuntu11.10安装Qt,提示“You need a C++ compiler. Please install it using the System Pack

来源:互联网 发布:算法谜题 中文版 pdf 编辑:程序博客网 时间:2024/06/14 10:08

You need a C++ compiler. Please install it using the System Package Management tools.

解决办法:

执行sudo apt-get install build-essential

Ubuntu并没有提供C/C++的编译环境,因此还需要手动安装。

如果想在Ubuntu中编译c/c++程序,只需要安装该软件包就可以了

 

原创粉丝点击