【发布时间】:2015-08-06 06:34:48
【问题描述】:
我的 .vimrc 文件如下所示:
set exrc
set secure
set number
set tabstop=2
set shiftwidth=2
set expandtab
set autoindent
set background=dark
set vb t_vb=
set colorcolumn=110
highlight Pmenu ctermfg=2 ctermbg=0 guifg=#ffffff guibg=#0000ff
highlight ColorColumn ctermbg=darkgray
autocmd CompleteDone * pclose
compiler g++
但是,当我打开一些 C++ 文件时,我会看到这样的消息:
E666: compiler not supported: g++
有什么问题?
【问题讨论】:
-
使用
:compiler获取可用编译器的列表。 -
好的,有gcc编译器,但是没有g++编译器。如何添加?
-
@Andrew
apt-get install g++? -
不,我已经安装了 g++ :)