Certifique-se de que libX11-devel e libXt-devel estejam instalados. Se a sua instalação do cygwin estiver atualizada, talvez seja necessário fazer o patch src / mbyte.c para compilar o Vim 7.4 com + clientserver e + X11.
verifique libX11-devel e libXt-devel
# vim configure log
#$ grep X_LIB src/auto/config.log
GUI_X_LIBS=''
X_LIB='-lXt -lX11'
X_LIBS=' '
# cygwin
#$ cygcheck.exe -c | grep libX11-devel
libX11-devel 1.6.3-1 OK
#$ cygcheck.exe -c | grep libXt-devel
libXt-devel 1.1.4-2 OK
Aplique o patch src / mbyte.c da Lech Lorens
diff --git a/src/mbyte.c b/src/mbyte.c
index 6340992..cb14a25 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -83,10 +83,18 @@
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
-# include <windows.h>
+# if defined(FEAT_GUI) || defined(FEAT_XCLIPBOARD)
+# include <X11/Xwindows.h>
+# define WINBYTE wBYTE
+# else
+# include <windows.h>
+# define WINBYTE BYTE
+# endif
# ifdef WIN32
# undef WIN32 /* Some windows.h define WIN32, we don't want that here. */
# endif
+#else
+# define WINBYTE BYTE
#endif
#if (defined(WIN3264) || defined(WIN32UNIX)) && !defined(__MINGW32__)
@@ -698,7 +706,7 @@ codepage_invalid:
/* enc_dbcs is set by setting 'fileencoding'. It becomes a Windows
* CodePage identifier, which we can pass directly in to Windows
* API */
- n = IsDBCSLeadByteEx(enc_dbcs, (BYTE)i) ? 2 : 1;
+ n = IsDBCSLeadByteEx(enc_dbcs, (WINBYTE)i) ? 2 : 1;
#else
# if defined(MACOS) || defined(__amigaos4__)
/*
compilar Vim 7.4 + clienterver + X11
#$./configure --with-x
#$ make
#$ ./src/vim.exe --version
VIM - Vi IMproved 7.4
Normal version without GUI. Features included (+) or not (-):
+clientserver -hangul_input +netbeans_intg +title
+digraphs +mksession +scrollbind +X11
#$ ./src/vim.exe --serverlist
TEST