Visual D fatal error - can't open phobos64.lib

Rainer Schuetze r.sagitario at gmx.de
Sat Sep 22 13:49:36 UTC 2018


On 20/09/2018 14:17, John Chapman wrote:
> When I try to build within Visual D, I get the following error:
> 
> LINK : fatal error LNK1104: cannot open file 'phobos64.lib'
> 
> I've added the path to the lib64 folder in the "DMD directories > 
> Library paths" option and verified that the path to the linker is correct.
> 
> When I change to a Win32 configuration, it complains it can't open 
> 'phobos32mscoff.lib' (even if I add the lib32coff folder to the path).
> 
> If I build on the command line everything works fine. Does anyone have 
> any suggestion before I resort to using makefiles instead? Thanks.

I guess you are using the VC-projects in VS2017. In that case the Visual 
D settings are not transferred to msbuild in version 0.47. You might 
want to try a preliminary build from appveyor: 
https://ci.appveyor.com/project/rainers/visuald/build/1.0.230/job/c2g9qeg8c1dau3v6

Please ignore the "no compiler detected" message in the compiler 
settings, this function needs a small patch to phobos.


More information about the Digitalmars-d-ide mailing list