www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17877] New: Missing library path in LDC settings

https://issues.dlang.org/show_bug.cgi?id=17877

          Issue ID: 17877
           Summary: Missing library path in LDC settings
           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

kernel32.lib is not found when compiling for LDC 32/64bit.

The reason seems to be that paths in the "LDC Directories" are only:
$(VCTOOLSINSTALLDIR)lib\x64
$(UCRTSdkDir)Lib\$(UCRTVersion)\ucrt\x64

but kernel32.lib is placed in:
$(UCRTSdkDir)Lib\$(UCRTVersion)\um\x64

Adding this third path, makes LDC work in my system.
Windows 10
VS2017 Community 15.3.5
VisualD v0.46.0-beta1

--
Oct 04