Hi Sergey,

Thanks a lot for your valuable tip. I must admit that I have little
experience with this kind of stuff. I followed your advice and I
installed MS Visual Studio Express, version 10 and I managed to
successfully compile Vim with MZSCHEME support.

For anyone interested, I post here what I've did.

C:\temp>hg clone https://vim.googlecode.com/hg/ vim
requesting all changes
adding changesets
adding manifests
adding file changes
added 3267 changesets with 22907 changes to 2535 files (+2 heads)
updating to branch default
2354 files updated, 0 files merged, 0 files removed, 0 files
unresolved

C:\temp>cd vim/src

C:\temp\vim\src>msvc2010.bat

C:\temp\vim\src>call "C:\Program Files\Microsoft Visual Studio
10.0\Common7\Tool
s\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

C:\temp\vim\src>nmake -f Make_mvc.mak GUI=yes FEATURES=HUGE
MZSCHEME="C:\Racket"
 MZSCHEME_VER="3m_8avlog"

I also want to point out that I initially encounter the following
problem:

        cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -
DFEAT_CSCOPE -D
FEAT_NETBEANS_INTG      -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.
\ObjGZ/ /Ox /
GL -DNDEBUG  /Zl /MT -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -
DFEAT_MZS
CHEME -I C:/Racket\include -DINCLUDE_MZSCHEME_BASE -DMZ_PRECISE_GC -
DFEAT_HUGE /
Fd.\ObjGZ/ /Zi if_mzsch.c  -DMZSCHEME_COLLECTS=\"C:/Racket\\collects\"
if_mzsch.c
if_mzsch.c(632) : fatal error C1083: Cannot open include file:
'mzscheme_base.c'
: No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.

It turned out that I used MZSCHEME="C:/Racket" and because of that,
the command "C:/Racket\mzc --c-mods mzscheme_base.c ++lib scheme/base"
was not properly invoked. Anyway, the backslash form does work!


-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to