Closed iambudi closed 3 years ago
Hey @iambudi,
brew
recently updated llvm to version 11 which is incompatible with crystal, but still installed alongside as a dependency.
Could you check the output of brew info llvm
to check which version you have? If you do have v11 installed, then running brew uninstall --ignore-dependencies llvm && brew install llvm@9
may fix the issue.
Also if you simply want to run crystalline you could download the pre-built binary instead of building from source.
Hi @elbywan,
Thank you so much for your prompt answer. I read another issue mentioning this as well.
You're right i got LLVM 11 installed on my mac. I will try again to build it tomorrow with llvm@9 as your suggestion.
I already use pre-built binary tho. Just in case i need to do some experiment on the code so i need to make sure it can be build without issue :)
I have no idea with this bunch of LLVM errors. Any missing libs need to be installed?
crystal -v
env LLVM_CONFIG=/usr/local/opt/llvm/bin/llvm-config crystal build ./src/crystalline.cr -o ./bin/crystalline --release --no-debug -Dpreview_mt