: error:
Error running clang! you need clang installed to use the LLVM backend
(or GHC tried to execute clang incorrectly) clang' failed in phase Clang (Assembler)'.
hi! I am not very deep in coding and wanted to start making sounds with tidal...
I want to use vs code as editor and not atom so I installed all manually as mentioned here: https://userbase.tidalcycles.org/MacOS_installation.html
I also run Mac OS Monterey on a MacBook Air M1...
after installing Homebrew I had some issues in the Terminal...
I also was not able to install tidal cycles getting following errors about LLVM...
maybe anyone could help me to get tidal run on my system?!
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
ghc: could not execute: opt
cabal: Leaving directory '/var/folders/pz/lntyjk5d6kn6dhrj24xplsxw0000gn/T/cabal-tmp-5127/colour-2.3.6'
Starting splitmix-0.1.0.4
Failed to install base-orphans-0.8.7
Build log ( /Users/ban/.cabal/logs/ghc-8.10.7/base-orphans-0.8.7-CxjgRshcctIBmXTSG1CmvV.log ):
cabal: Entering directory '/var/folders/pz/lntyjk5d6kn6dhrj24xplsxw0000gn/T/cabal-tmp-5124/base-orphans-0.8.7'
Configuring base-orphans-0.8.7...
Preprocessing library for base-orphans-0.8.7..
Building library for base-orphans-0.8.7..
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
[1 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, dist/build/Data/Orphans/Prelude.o, dist/build/Data/Orphans/Prelude.dyn_o )
(There’s no need for homebrew, as often as it may be stated or implied.)
If you need an LLVM version (though even that need is shrinking as GHC evolves) then just install the official Apple version. It is part of the Xcode command line tools, which can be installed thusly: xcode-select --install
If at that point you still have any trouble it’ll likely be due to cabal command lines. Lots of threads covering those if you search for cabal.
[Addendum: If subsequent trouble isn’t cabal-related then it might require circling back to details of the Haskell toolchain installation, though that’s rather less likely given how far you’ve gotten.]
thanks for your fast reply, I still found some other threats and after hours it works now… don’t know exactly why & how but it works…
Think it won’t be my last question here…