On 12/07/2020 23:35, Rainer Schuetze wrote: > > > On 12/07/2020 11:11, greatsam4sure wrote: > [...] >> set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ >> set WindowsSdkVersion=10.0.18362.0 >> set UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ >> set UCRTVersion=10.0.18362.0 > [...] >> echo legacy_stdio_definitions.lib /LIBPATH:"C:\Program Files >> (x86)\Microsoft Visual >> Studio\2019\Community\VC\Tools\MSVC\14.24.28314\lib\x86" >> /LIBPATH:"C:\Program Files (x86)\Windows >> Kits\10\Lib\10.0.18362.0\ucrt\x86" > [...] >> >> LINK : fatal error LNK1181: cannot open input file 'user32.lib' >> Building Win32\Debug\WindowsApp2.exe failed! > > > I suspect you don't have the Windows SDK installed with Visual Studio. > user32.lib is usually found in "C:\Program Files (x86)\Windows > Kits\10\lib\10.0.18362.0\um\x86", but that path is not passed on the > command line with /LIBPATH. > On second thought: if you installed the SDK after Visual D, the settings in "Tools -> Options -> Projects and Solutions -> Visual D Settings -> DMD directories -> Win32 COFF32 -> Library Paths" might not reflect that (it should contain something like $(WindowsSdkDir)lib\$(WindowsSdkVersion)\um\x86). You can also click "Reset Settings" on the Visual D settings page to correct that.
Re: Visual D 1.0.0 released
Rainer Schuetze via Digitalmars-d-announce Sun, 12 Jul 2020 23:51:14 -0700
- Re: Visual D 1... Jacob Carlborg via Digitalmars-d-announce
- Re: Visua... Petar via Digitalmars-d-announce
- Re: Visua... Rainer Schuetze via Digitalmars-d-announce
- Re: Visua... Jacob Carlborg via Digitalmars-d-announce
- Re: Visua... Rainer Schuetze via Digitalmars-d-announce
- Re: Visual D 1... Petar via Digitalmars-d-announce
- Re: Visua... Rainer Schuetze via Digitalmars-d-announce
- Re: Visua... Jacob Carlborg via Digitalmars-d-announce
- Re: Visual D 1.0.0 released greatsam4sure via Digitalmars-d-announce
- Re: Visual D 1.0.0 release... Rainer Schuetze via Digitalmars-d-announce
- Re: Visual D 1.0.0 rel... Rainer Schuetze via Digitalmars-d-announce
- Re: Visual D 1.0.0... Greatsam4sure via Digitalmars-d-announce
- Re: Visual D 1... greatsam4sure via Digitalmars-d-announce