Issue #11118 has been updated by Heesob Park.


This issue is due to the runtime name change.
Since the Visual Studio 2014, the runtime is vcruntime140.dll.

Refer to http://mariusbancila.ro/blog/2014/06/05/crt-refactored-in-visual-studio-14/

The other huddle is FILE structure Encapsulation: 
http://blogs.msdn.com/b/vcblog/archive/2014/06/18/crt-features-fixes-and-breaking-changes-in-visual-studio-14-ctp1.aspx

win32/win32.c should be rewritten in order to be built with Visual Studio 2014 or later.

----------------------------------------
Bug #11118: Unable to build Ruby with Visual Studio 2015 RC
https://bugs.ruby-lang.org/issues/11118#change-52324

* Author: Daniel Berger
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 2.2.2
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
I installed the latest Visual Studio, and then tried to build Ruby 2.2.2 on Windows 7. But, I'm having trouble right away. This is an RC candidate (so I guess that's why the CLI shows Visual Studio 14).

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>cl /?
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.22816 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Users\djberge\Downloads\Ruby\ruby-2.2.2>win32\configure.bat
win32\rtname: conftest.exe is not linked to msvcrt
NMAKE : fatal error U1077: 'win32\rtname' : return code '0x1'
Stop.

Any ideas?



-- 
https://bugs.ruby-lang.org/