Frage

I am trying to install the codecheck plugin for gVim, but to do so I must compile gVim with the plugin.

On apt, every apt-get source to a gVim package downloads the normal Vim source, so I guess compiling the GUI must be a configure option. However, I can install the plugin on Vim but I can't compile gVim (since when I make there appears no gVim executable).

Any help compiling gVim?

War es hilfreich?

Lösung

I'm pretty sure you can just add --enable-gui=gtk2 when configureing. At least, that's how I remember doing it.

Andere Tipps

  1. apt-get build-dep vim to install the build dependencies for Vim.
  2. Read src/INSTALL, as explained in the README.txt in the top-level directory of the source, to see how to configure and compile it.

After you've got your dependencies installed and you can't find the gvim executable, then try vim -g from the terminal - that's the flag for starting in GUI mode. It's always worth a shot.

It seems this is a more updated version: http://vim.wikia.com/wiki/Building_Vim

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top