Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7326

Re: Unable to compile ruby 2.4.0 with VS2015u3

Newsgroups comp.lang.ruby
Date 2017-01-05 13:21 -0800
References <88cae402-be5e-43ed-845b-28f85b86da77@googlegroups.com>
Message-ID <7d569ad9-cde1-426c-a6d6-2d0b91d0743a@googlegroups.com> (permalink)
Subject Re: Unable to compile ruby 2.4.0 with VS2015u3
From Marek Knápek <knapek.mar@gmail.com>

Show all headers | View raw


Nevermind, I solved it, the make process is sending compiler output to nul, compiler was complaining about missing file stdio.h. For some reason the %INCLUDE% environment variable was not pointing to its location. After fixing this, the compiler was complaining about missing ucrt.lib, again, for some reason the %LIB% environment variable was not pointing to its location. After fixing this, everything worked flawlessly.

The fix was to execute these two commands before running the configure script (YMMV).

set "INCLUDE=%INCLUDE%;c:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt"

set "LIB=%LIB%;c:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\ucrt\x86"

Regard,
Marek

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Unable to compile ruby 2.4.0 with VS2015u3 knapek.mar@gmail.com - 2016-12-30 08:57 -0800
  Re: Unable to compile ruby 2.4.0 with VS2015u3 Marek Knápek <knapek.mar@gmail.com> - 2017-01-05 13:21 -0800
    Re: Unable to compile ruby 2.4.0 with VS2015u3 Hellio6 <vunangluc@gmail.com> - 2017-04-09 18:47 -0700

csiph-web