Windows psapi, linker issues

M nope at nope.nope
Wed Dec 26 14:22:07 UTC 2018


On Wednesday, 26 December 2018 at 12:15:43 UTC, kinke wrote:
> The error suggests you're targeting Win32 (-m32) but using a 
> Win64-only LDC distribution. The multilib package features 
> 32-bit libs too.

Using multilib distribution and explicit `--arch=x86_64` in dub, 
error has simply changed to "lld-link: error: undefined symbol: 
GetProcessImageFileNameA". Note that other functions (for 
example, from core.sys.windows.winbase) do seem to link fine.


More information about the digitalmars-d-ldc mailing list