digitalmars.D.bugs - [Issue 17355] New: Path to lib64 and $(DMDInstallDir) not correct
- via Digitalmars-d-bugs (33/33) Apr 26 2017 https://issues.dlang.org/show_bug.cgi?id=17355
https://issues.dlang.org/show_bug.cgi?id=17355 Issue ID: 17355 Summary: Path to lib64 and $(DMDInstallDir) not correct Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: visuald Assignee: nobody puremagic.com Reporter: thomas.hedstrom mail.com After installing DMD 2.074.0 and Visual D 0.44.2 the DMD x64 builds cannot find phobos64.lib. (LINK : fatal error LNK1104: cannot open file 'phobos64.lib') Using VS2017 Community (Toolset 2017 and/or toolset 2015 tested thinking it was a linker problem). After some more testing it seems there are maybe two problems: 1. When adding and absolute path to "C:\D\dmd2\windows\lib64" in Visual D global settings "Library path" it works. Missing library path to lib64 ? 2. But, trying relative path $(DMDInstallDir)windows\lib64 to conform with other path settings, it does not work. During compilation the $(DMDInstallDir) seems to be ".\", seems wrong. Variables: DMDInstallDir=.\ VCTOOLSINSTALLDIR=P:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\ VSINSTALLDIR=P:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\ Note: Compilation from command line "dmd -m64" on the same source works regardless. --
Apr 26 2017