apple / HomeKitADK

Apache License 2.0
2.55k stars 232 forks source link

mbedtls --HEAD CMake Error #122

Open Roelof626 opened 2 years ago

Roelof626 commented 2 years ago

Hi, I tried to install the Prerequisites for the ADK but got already stuck by the brew install mbedtls --HEAD Command. This is where it went wrong:

==> Installing mbedtls --HEAD
==> cmake -S . -B build -DUSE_SHARED_MBEDTLS_LIBRARY=On -DPython3_EXECUTABLE=/op
Last 15 lines from /Users/roelof/Library/Logs/Homebrew/mbedtls/01.cmake:

CMake Error at programs/ssl/CMakeLists.txt:40 (add_executable):
  No SOURCES given to target: ssl_client2

CMake Error at programs/ssl/CMakeLists.txt:40 (add_executable):
  No SOURCES given to target: ssl_server2

CMake Error at programs/test/CMakeLists.txt:69 (add_executable):
  No SOURCES given to target: query_compile_time_config

CMake Generate step failed.  Build files cannot be regenerated correctly.

READ THIS: https://docs.brew.sh/Troubleshooting

Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.

As the output suggests I tried looking for a solution on the Brew troubleshooting site but didn't find anything. Neither on the web. So I reinstalled brew and cleaned everything. Results? The same error. What is exactly wrong and how do I solve it? I'm running Xcode 13.3, Command Line Tools for Xcode 13.3 and macOS 12.3.1 on a M1 Mac.