Loading ...
Sorry, an error occurred while loading the content.

Compiling vim with visual studio 2012 express

Expand Messages
  • skeept
    I tried compiling gvim in windows using the cygwin interface and also visual studio express. When compiling with visual studio express update 2 you immediately
    Message 1 of 1 , May 12, 2013
    • 0 Attachment
      I tried compiling gvim in windows using the cygwin interface and also visual studio express.

      When compiling with visual studio express update 2 you immediately get the error:

      C:\htemp\vim\src>nmake -f Make_mvc.mak

      Microsoft (R) Program Maintenance Utility Version 11.00.60315.1
      Copyright (C) Microsoft Corporation. All rights reserved.

      Make_mvc.mak(236) : fatal error U1052: file 'Win32.mak' not found
      Stop.

      Since I had Win32.mak in other computer where I can access visual studio I copied it to the vim sources folder.

      Once I did this I could compile all the sources until the link stage:

      C:\htemp\vim\src>nmake -f Make_mvc.mak FEATURES=HUGE OLE=yes MBYTE=yes IME=yes DYNAMIC_IME=yes GIME=yes DYNAMIC_PYTHON=y
      es PYTHON="C:\Python27_64" PYTHON_VER=27 PERL="C:\Perl64" PERL_VER=516 DYNAMIC_PERL=yes CPU=AMD64 WINVER=0x0601 GUI=yes


      Microsoft (R) Program Maintenance Utility Version 11.00.60315.1
      Copyright (C) Microsoft Corporation. All rights reserved.

      Python requested (version 27) - root dir is "C:\Python27_64"
      Python DLL will be loaded dynamically
      Perl requested (version 516) - root dir is "C:\Perl64"
      Perl DLL will be loaded dynamically

      cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -D
      WINVER=0x0601 -D_WIN32_WINNT=0x0601 /Fo.\ObjGOLYAMD64/ /Ox /GL -DNDEBUG /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_
      IME -DGLOBAL_IME -DFEAT_MBYTE -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC
      _PYTHON_DLL=\"python27.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl516.dll\" -DFEAT_HUGE /Fd.\ObjGOLYAMD64
      / /Zi version.c
      version.c
      /nologo /subsystem:windows /LTCG:STATUS -out:gvim.exe .\ObjGOLYAMD64\blowfish.obj .\ObjGOLYAMD64\buffer.obj
      .\ObjGOLYAMD64\charset.obj .\ObjGOLYAMD64\diff.obj .\ObjGOLYAMD64\digraph.obj .\ObjGOLYAMD64\edit.obj .\ObjGOLYAMD64
      \eval.obj .\ObjGOLYAMD64\ex_cmds.obj .\ObjGOLYAMD64\ex_cmds2.obj .\ObjGOLYAMD64\ex_docmd.obj .\ObjGOLYAMD64\ex_eval.
      obj .\ObjGOLYAMD64\ex_getln.obj .\ObjGOLYAMD64\fileio.obj .\ObjGOLYAMD64\fold.obj .\ObjGOLYAMD64\getchar.obj .\ObjG
      OLYAMD64\hardcopy.obj .\ObjGOLYAMD64\hashtab.obj .\ObjGOLYAMD64\main.obj .\ObjGOLYAMD64\mark.obj .\ObjGOLYAMD64\mbyt
      e.obj .\ObjGOLYAMD64\memfile.obj .\ObjGOLYAMD64\memline.obj .\ObjGOLYAMD64\menu.obj .\ObjGOLYAMD64\message.obj .\Ob
      jGOLYAMD64\misc1.obj .\ObjGOLYAMD64\misc2.obj .\ObjGOLYAMD64\move.obj .\ObjGOLYAMD64\normal.obj .\ObjGOLYAMD64\ops.o
      bj .\ObjGOLYAMD64\option.obj .\ObjGOLYAMD64\os_mswin.obj .\ObjGOLYAMD64\winclip.obj .\ObjGOLYAMD64\os_win32.obj .\O
      bjGOLYAMD64\pathdef.obj .\ObjGOLYAMD64\popupmnu.obj .\ObjGOLYAMD64\quickfix.obj .\ObjGOLYAMD64\regexp.obj .\ObjGOLYA
      MD64\screen.obj .\ObjGOLYAMD64\search.obj .\ObjGOLYAMD64\sha256.obj .\ObjGOLYAMD64\spell.obj .\ObjGOLYAMD64\syntax.o
      bj .\ObjGOLYAMD64\tag.obj .\ObjGOLYAMD64\term.obj .\ObjGOLYAMD64\ui.obj .\ObjGOLYAMD64\undo.obj .\ObjGOLYAMD64\wind
      ow.obj .\ObjGOLYAMD64\vim.res .\ObjGOLYAMD64\dimm_i.obj .\ObjGOLYAMD64\glbl_ime.obj .\ObjGOLYAMD64\gui.obj .\ObjGOLYAM
      D64\gui_beval.obj .\ObjGOLYAMD64\gui_w32.obj .\ObjGOLYAMD64\os_w32exe.obj .\ObjGOLYAMD64\if_ole.obj .\ObjGOLYAMD64\
      if_perl.obj .\ObjGOLYAMD64\if_perlsfio.obj .\ObjGOLYAMD64\if_python.obj .\ObjGOLYAMD64/if_cscope.obj .\ObjGOLYAMD64
      /netbeans.obj .\ObjGOLYAMD64/xpm_w32.obj .\ObjGOLYAMD64\version.obj oldnames.lib kernel32.lib advapi32.lib shell32.lib
      gdi32.lib comdlg32.lib ole32.lib uuid.lib /machine:AMD64 /nodefaultlib gdi32.lib version.lib winspool.lib comctl32.li
      b advapi32.lib shell32.lib /machine:AMD64 /nodefaultlib libcmt.lib oleaut32.lib user32.lib /nodefaultlib:python27
      .lib WSock32.lib xpm\x64\lib\libXpm.lib /PDB:gvim.pdb -debug
      '/nologo' is not recognized as an internal or external command,
      operable program or batch file.
      NMAKE : fatal error U1077: '' : return code '0x1'
      Stop.
      C:\htemp\vim\src>

      When I add the link in from of /nologo then I can compile successively.

      It is possible to compile without copying the file Win32.mak and without having to add the link statement explicitly?

      Regards,
      Jorge

      --
      --
      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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.