2。搭建 ubuntu 下的 C++编程环境:
编译器:sudo apt-get install build-essential gcc make autoconf automake libtool
gdb g++
编辑器,任选一个:
sudo apt-get install emacs
sudo apt-get install vim
vim 默认语法染色功能是关闭的,我们可以编辑/etc/vim/vimrc 文件
把 syntax on 前面的符号去掉,然后保存。就可以启动 vim 的语法染色功能。
构建 Gnome 开发环境:
sudo apt-get install gnome-devel
eclipse 也是不错的选择:建议到以下地址直接下载 eclipse for cpp:
http://www.eclipse.org/downloads/
关于启动 eclipse 出现 :JVM terminated. Exit code=13 错误的解决方法:
首先用命令选择正确的 java 版本:
sudo update-alternatives --config java
然后把 ~/workspace 目录中的.metadata 目录删除就可以了
下载 c/c++版本的
选择最快的镜像点:[Korea, Republic Of] Daum Communications Corp. (http)
搭建 ubuntu 下的 C++编程环境
最新推荐文章于 2023-09-02 20:53:28 发布