86x64 icon indicating copy to clipboard operation
86x64 copied to clipboard

Build fails on macOS Monterey 12.6.1 / Xcode 14.1

Open nmphoenix opened this issue 3 years ago • 4 comments

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.

nmphoenix avatar Nov 11 '22 22:11 nmphoenix

Try:

xcode-select --install

vadimszzz avatar Nov 29 '22 14:11 vadimszzz

I have Xcode fully installed.

nmphoenix avatar Nov 29 '22 17:11 nmphoenix

same issue with macOS big sur

Mifaxav avatar Apr 10 '23 11:04 Mifaxav

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...)

wwwonka avatar Jan 15 '24 02:01 wwwonka