Bug #11118
closedUnable to build Ruby with Visual Studio 2015 RC
Description
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?
Updated by phasis68 (Heesob Park) over 9 years ago
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.
Updated by usa (Usaku NAKAMURA) over 9 years ago
FYI, naruse-san has already surveyed it, and some parts of its result have been committed into trunk.
Updated by scorpion007 (Alex Budovski) over 9 years ago
Now that RTM is out, is any progress being made on this?
Updated by naruse (Yui NARUSE) almost 9 years ago
- Related to Bug #12014: Visual Studio 2015 build error __imp___pioinfo added
Updated by naruse (Yui NARUSE) almost 9 years ago
- Related to deleted (Bug #12014: Visual Studio 2015 build error __imp___pioinfo)
Updated by naruse (Yui NARUSE) almost 9 years ago
- Has duplicate Bug #12014: Visual Studio 2015 build error __imp___pioinfo added
Updated by naruse (Yui NARUSE) almost 9 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: WONTFIX, 2.1: WONTFIX, 2.2: WONTFIX, 2.3: WONTFIX
I also write about this on Microsoft Connect.
https://connect.microsoft.com/VisualStudio/feedback/details/1279133
You may understand the situation by seeing https://github.com/ruby/ruby/pull/884.
Status is
- Ruby 2.3 or prior won't fix this.
- Ruby 2.4 or later may introduce with fundamental architectural change.
Updated by naruse (Yui NARUSE) over 8 years ago
- Status changed from Open to Closed
Updated by naruse (Yui NARUSE) over 8 years ago
- Has duplicate Bug #12322: vs 2015 added
Updated by naruse (Yui NARUSE) over 2 years ago
- Related to Bug #18605: Fails to run on (newer) 32bit Windows with ucrt added