86x64
86x64 copied to clipboard
Build fails on macOS Monterey 12.6.1 / Xcode 14.1
Attempting to build on macOS Monterey with Xcode 14.1, cmake cannot locate NASM.
If Homebrew NASM is installed, cmake then throws error locating Clang configuration files:
CMake Error at src/abiconv/CMakeLists.txt:1 (find_package):
Could not find a package configuration file provided by "Clang" with any of
the following names:
ClangConfig.cmake
clang-config.cmake
Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
"Clang_DIR" to a directory containing one of the above files. If "Clang"
provides a separate development package or SDK, be sure it has been
installed.
Try:
xcode-select --install
I have Xcode fully installed.
same issue with macOS big sur
What about this:
brew install llvm
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
On my system it worked to get me pass this error (before I stumbled on a new one...)