llvm-d
llvm-d copied to clipboard
Compilation issues
Hello, When I clone this code and compile it, I get the following error:
LINK : fatal error LNK1104: cannot open file 'LLVM.lib' Error: linker exited with status 1104 Error C:\D\dmd2\windows\bin64\dmd.exe failed with exit code 1.
I use ldc2, version: 1.33.0-beta1.
You need the LLVM static library files which you can find here https://releases.llvm.org/download.html
I have them. Do i need to put them somewhere in dub.json or?
On Mon, May 22, 2023, 9:26 PM Luna @.***> wrote:
You need the LLVM static library files which you can find here https://releases.llvm.org/download.html
— Reply to this email directly, view it on GitHub https://github.com/MoritzMaxeiner/llvm-d/issues/31#issuecomment-1557816776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6GRMKNZDUEJ3RSVR45HSDXHO4V7ANCNFSM6AAAAAAYKHFYSA . You are receiving this because you authored the thread.Message ID: @.***>
Either add the .lib as a source file in the dub file or put the .lib in to the sources directory
See: https://dub.pm/package-format-json.html#build-settings