MoritzMaxeiner/llvm-d

Compilation issues

jelenakomljenovic opened this issue · 3 comments

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

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