Closed ales-tsurko closed 6 years ago
Hmm, that's interesting. There's currently no easy way to get it to just use the brew-installed one, sorry.
Which version of macOS/clang are you using?
macOS 10.13.
Ales :: / » clang -v
clang version 3.9.0 (http://root.cern.ch/git/clang.git 1d3611b352ada6e8fc8dd41631bd17495f37b258) (http://root.cern.ch/git/llvm.git 967fc5bd859b61bac9620c7d70372d856d3e11a0)
Target: x86_64-apple-darwin17.0.0
Thread model: posix
InstalledDir: /usr/local/bin
But Cmake uses clang by Xcode:
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
Updating clang and llvm to the last version (5.0.1) downloaded from llvm.org solved the problem.
Thanks!
It stops on portaudio compilation with the next error:
I've already installed portaudio with homebrew. Maybe is there a flag to link against my version?