Fixed the python error with:
ln -s /usr/bin/python3 /usr/local/bin/python3
Now when running the command:
idf.py set-target esp32c6
I get the following error with the CMAKE version:
brosenz@MBP led-blink % idf.py set-target esp32c6
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/Users/brosenz/esp/swift-matter-examples/led-blink/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c6, new sdkconfig will be created.
Running cmake in directory /Users/brosenz/esp/swift-matter-examples/led-blink/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/Users/brosenz/.espressif/python_env/idf5.2_py3.9_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32c6 -DCCACHE_ENABLE=0 /Users/brosenz/esp/swift-matter-examples/led-blink"...
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
CMake 3.29 or higher is required. You are running version 3.24.0
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /Users/brosenz/esp/swift-matter-examples/led-blink/build/log/idf_py_stderr_output_68791 and /Users/brosenz/esp/swift-matter-examples/led-blink/build/log/idf_py_stdout_output_68791
If I run the command
brew info cmake , I get version 3.29.6:
brosenz@MBP led-blink % brew info cmake
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the --cask flag.
==> cmake: stable 3.29.6 (bottled), HEAD
This is the place I get stuck, any assistance will be appreciated, thanks