Issue #12014 has been updated by Yui NARUSE.

Status changed from Open to Closed

Ruby 2.2 and 2.3 doesn't and won't support Visual Studio 2015.
Use 2013 or prior, or mingw64.

Anyway this ticket is considered duplicated with #11118 as you say.

----------------------------------------
Bug #12014:  Visual Studio 2015 build error __imp___pioinfo
https://bugs.ruby-lang.org/issues/12014#change-56494

* Author: Nathan Bush
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: git ruby_2_3 & trunk
* Backport: 2.3: UNKNOWN
----------------------------------------
#11118 still applies for ruby_2_2 on git. This is ruby_2_3 and trunk, revision ed2e608.

I've been following the suggestions of https://github.com/nurse/ruby/blob/msvc14/appveyor.yml aside from version updates, and added gnuwin32 binaries to PATH.

Running nmake fails with:

~~~
user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib
linking miniruby.exe
win32.obj : error LNK2001: unresolved external symbol __imp___pioinfo
miniruby.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
~~~



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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>