Build problem on macOS 12.3.1

Hi,

When following the build instruction in README_MACOS.md I get the following error when invoking the command cmake --build . --target install --config RelWithDebInfo in the build folder:

Error: could not load cache

I assume something must have gotten wrong with the previous step:

% cmake -G Xcode -DCMAKE_PREFIX_PATH=`brew --prefix qt5`  ..
-- SuperCollider Version: 3.13.0-dev
-- Building from branch develop, commit hash is b38fbc1ba
-- Please specify the build configuration in the next step
CMake Warning at CMakeLists.txt:38 (message):
  WARNING: IN-PLACE BUILDS ARE NOT RECOMMENDED - PLEASE USE A BUILD DIRECTORY


-- Compiling with Qt GUI
-- Using bundled boost
-- Using bundled yaml-cpp
-- HIDAPI components:
--     mac
--     hidapi_parser
-- Building with HID support
-- FFT library (scsynth): vDSP
-- Found jack: /usr/local/lib/libjack.dylib
-- Audio API (scsynth): jack
-- Found a homebrew install of readline /usr/local/opt/readline
-- Found GNU Readline version 8.1: /usr/local/opt/readline/lib/libreadline.dylib
-- Found Qt: /usr/local/opt/qt@5/lib/QtCore.framework/QtCore
-- sclang: Building with QtWebEngine
-- Compiling with Ableton Link support
-- Compiling with Readline support
-- Building the Qt IDE
-- IDE: Building with QtWebEngine
-- Found Qt deploy utility: /usr/local/opt/qt@5/bin/macdeployqt
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/eckel/git/supercollider

What about this warning about the in-place build? Do I need to add a flag to cmake?

Any pointers would be greatly appreciated!

Did you run the configure step from the same build directory? Try running it again and make sure that you are indeed in build/.

Yes, I certainly did, but it didn’t produce any files there.