Linking issues VisualD generated vs Dub generated projects

Rainer Schuetze r.sagitario at gmx.de
Wed May 22 20:12:49 UTC 2019


On 22/05/2019 19:32, Rainer Schuetze wrote:
> 
> The VS2015 default for x64 is:
> 
> $(VCINSTALLDIR)lib\amd64
> $(UCRTSdkDir)Lib\$(UCRTVersion)\ucrt\x64

Argh, sorry, this is what you get without any Windows SDK installed.
If the Win10 SDK is detected, this gets added, too:

$(WindowsSdkDir)lib\$(WindowsSdkVersion)\um\x64

> 
> and for Win32-COFF:
> 
> $(VCINSTALLDIR)lib
> $(UCRTSdkDir)Lib\$(UCRTVersion)\ucrt\x86

$(WindowsSdkDir)lib\$(WindowsSdkVersion)\um\x86

> 
> Starting with VS2015, the VC runtime requires the universal runtime (UCRT).
> 
> You can see the resulting paths in the build logs in the output
> directory. The are passed to the linker with the /LIBPATH option.
> 


More information about the Digitalmars-d-ide mailing list