I've been attempting to build trunk on windows - but I'm having issues.

Setup: Win7, MSVC 10 Express
Python 2.7.0.1 (ActiveState)
Perl 5.12.1 (ActiveState)
Ruby 1.9.1 (i386-mswin32) fixed the header _MVC_VER thing
Gettext/Libiconv: gettext project packages from link in vim.org download page.

set that all up, call:
nmake -f Make_mvc.mak GUI=yes OLE=yes PERL=C:\Dev\Perl
DYNAMIC_PERL=yes PERL_VER=512 PYTHON=C:\Dev\Python DYNAMIC_PYTHON=yes
PYTHON_VER=27 RUBY=C:\Dev\_src\vim\ruby DYNAMIC_RUBY=yes RUBY_VER=191
RUBY_VER_LONG=1.9.1 NETBEANS=no USE_MSVCRT=yes

and results in:

link /RELEASE /nologo /subsystem:windows /LTCG:STATUS -out:gvim.exe
.\ObjGOLYR\blowfish.obj  .\ObjGOLYR\buffer.obj  .\ObjGOLYR\charset.obj
 .\ObjGOLYR\diff.obj  .\ObjGOLYR\digraph.obj  .\ObjGOLYR\edit.obj
.\ObjGOLYR\eval.obj  .\ObjGOLYR\ex_cmds.obj  .\ObjGOLYR\ex_cmds2.obj
.\ObjGOLYR\ex_docmd.obj  .\ObjGOLYR\ex_eval.obj
.\ObjGOLYR\ex_getln.obj  .\ObjGOLYR\fileio.obj  .\ObjGOLYR\fold.obj
.\ObjGOLYR\getchar.obj  .\ObjGOLYR\hardcopy.obj
.\ObjGOLYR\hashtab.obj  .\ObjGOLYR\main.obj  .\ObjGOLYR\mark.obj
.\ObjGOLYR\mbyte.obj  .\ObjGOLYR\memfile.obj  .\ObjGOLYR\memline.obj
.\ObjGOLYR\menu.obj  .\ObjGOLYR\message.obj  .\ObjGOLYR\misc1.obj
.\ObjGOLYR\misc2.obj  .\ObjGOLYR\move.obj  .\ObjGOLYR\normal.obj
.\ObjGOLYR\ops.obj  .\ObjGOLYR\option.obj  .\ObjGOLYR\os_mswin.obj
.\ObjGOLYR\os_win32.obj  .\ObjGOLYR\pathdef.obj
.\ObjGOLYR\popupmnu.obj  .\ObjGOLYR\quickfix.obj
.\ObjGOLYR\regexp.obj  .\ObjGOLYR\screen.obj  .\ObjGOLYR\search.obj
.\ObjGOLYR\sha256.obj  .\ObjGOLYR\spell.obj  .\ObjGOLYR\syntax.obj
.\ObjGOLYR\tag.obj  .\ObjGOLYR\term.obj  .\ObjGOLYR\ui.obj
.\ObjGOLYR\undo.obj  .\ObjGOLYR\window.obj  .\ObjGOLYR\vim.res
.\ObjGOLYR\gui.obj  .\ObjGOLYR\gui_beval.obj  .\ObjGOLYR\gui_w32.obj
.\ObjGOLYR\os_w32exe.obj .\ObjGOLYR\if_ole.obj
.\ObjGOLYR\if_perl.obj .\ObjGOLYR\if_perlsfio.obj
.\ObjGOLYR\if_python.obj  .\ObjGOLYR\if_ruby.obj
.\ObjGOLYR/if_cscope.obj    .\ObjGOLYR\version.obj oldnames.lib
kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib
ole32.lib uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib
winspool.lib comctl32.lib advapi32.lib shell32.lib  /machine:i386
/nodefaultlib msvcrt.lib oleaut32.lib  user32.lib
/nodefaultlib:python27.lib       /PDB:gvim.pdb -debug
gui_w32.obj : error LNK2001: unresolved external symbol _LoadXpmImage
gvim.exe : fatal error LNK1120: 1 unresolved externals

.. but wait, XPM is off and so is NETBEANS which uses it ... wait lets
try adding XPM=C:\Dev\_src\vim\libs
(which is where the XPM binary linked from vim docs is installed)

make clean, make (link again):

libXpm.lib(RdFToI.obj) : error LNK2001: unresolved external symbol __iob
libXpm.lib(parse.obj) : error LNK2001: unresolved external symbol __pctype
libXpm.lib(data.obj) : error LNK2001: unresolved external symbol __pctype
libXpm.lib(parse.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libXpm.lib(data.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
gvim.exe : fatal error LNK1120: 3 unresolved externals

uuhhh, that's made it worse ...

if I enable NETBEANS I get even more unresolved symbols. If I disable
MSVCRT I get pages of them.

I'm obviously doing something wrong here, but I've gone over what
documentation there is and I can't figure out what.

Any help would be appreciated.

Cheers,
Leo

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui