Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

mbedtls --HEAD CMake Error #122

@Roelof626

Description

@Roelof626

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions