HomeKitADK icon indicating copy to clipboard operation
HomeKitADK copied to clipboard

mbedtls --HEAD CMake Error

Open Roelof626 opened this issue 2 years ago • 0 comments

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.

Roelof626 avatar Apr 06 '22 13:04 Roelof626