Bug 14866 – Unable to find universal runtime static libraries on windows 10 and VS 2015

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-08-03T18:59:00Z
Last change time
2015-11-28T09:26:11Z
Assigned to
nobody
Creator
devadel
See also
https://issues.dlang.org/show_bug.cgi?id=14849

Comments

Comment #0 by devadel — 2015-08-03T18:59:20Z
When building an exe using vs 2015 I get the following linking error: fatal error LNK1104: cannot open file 'libucrtd.lib' Building the same project with VS 2013 is successful. libucrtd.lib is a universal CRT file and I made sure that it is already found on the machine. I addeed its path to the x64 library paths with no success.
Comment #1 by r.sagitario — 2015-08-05T20:43:42Z
If you add "c:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64" to the global library search paths, the lib is found, but druntime/phobos do not work with the changed MS runtime. See also https://issues.dlang.org/show_bug.cgi?id=14849#c7
Comment #2 by r.sagitario — 2015-11-01T10:34:09Z
Should work in https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.43-beta1 You'll need the release candidate for dmd 2.069 though to not get undefined symbols, though.
Comment #3 by r.sagitario — 2015-11-28T09:26:11Z