"Unexpected error Error: not found: executable invoked as lld-link" on Windows #1906
|
I've unpacked When trying to compile my minimal I'm getting following error: It can emit anything from |
Replies: 1 comment 1 reply
|
This isn't a Hylo bug, it's a missing dependency that just isn't bundled in the Windows release archive. What's happening: You don't need full Visual Studio, but you do need two things:
Summary: Install LLVM (for |
This isn't a Hylo bug, it's a missing dependency that just isn't bundled in the Windows release archive.
What's happening:
--emit binaryis the only--emitlevel that actually invokes a linker (everything earlier in the pipeline, likeintel-asm, stops before linking). On Windows, Hylo's compiler shells out tolld-linkto do that final link step, but the binary tarball you unpacked only containshc.exeplus the Swift runtime DLLs, nolld-link.exe. That's confirmed by your own directory listing, and by Hylo's own LLVM build repo, which notes its LLVM package includes tools likelldfor compiler development, separate from the end-userhc.exerelease.You don't need full Visual Studio, but yo…