Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 357 by sinan.u...@gmail.com: Cannot build vim/gvim on Windows 8 with Visual Studio 2015
https://code.google.com/p/vim/issues/detail?id=357

I have been building gvim/vim from source using Visual Studio 2013 tools with no problems. Yesterday, I tried to do the same with Visual Studio 2015 RC tools, and for reasons beyond my understanding, the build is failing at link stage with a failure to resolve standard C library functions.

As far as I can see, there is nothing in Make_mvc.mak that should not work with the new tools (I manually set MSVCVER=12.0 on the command line before invoking it).

What steps will reproduce the problem?
1. Open a VS2015 x64 Native Tools Command Prompt
2. set include=%include%;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include for win32.mak
3. set MSVCVER=12.0
4. nmake -f Make_mvc.mak CPU=AMD64 OPTIMIZE=SPACE GETTEXT=no NETBEANS=no CSCOPE=no DIRECTX=yes GUI=yes

What is the expected output? What do you see instead?

I expect gvim.exe to be created. Instead, I get link errors referring to standard C functions and others:

winclip.obj : error LNK2001: unresolved external symbol memcpy
screen.obj : error LNK2001: unresolved external symbol memmove
misc1.obj : error LNK2001: unresolved external symbol realloc

etc etc etc

What version of the product are you using? On what operating system?

Vim 7.4.712, Windows 8.1 Pro

Please provide any additional information below.

I also created a question on Stackoverflow for this issue.

http://stackoverflow.com/questions/29986585/why-am-i-not-able-to-build-vim-with-visual-studio-2015-rc-command-line-tools

My hope was to figure out what ever needed adding to Make_mvc.mak for this build, and contribute a patch, but, alas I seem to have hit a wall.

Thank you.

-- Sinan

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui