Skip to content

Can't build on macOS 26.1 (25B78) (Tahoe) #836

@hanshuebner

Description

@hanshuebner

While trying to build fluxengine on macOS, I ran into issues like:

dep/imhex/lib/libimhex/source/helpers/crypto.cpp:11:10: fatal error: 'mbedtls/bignum.h' file not found
   11 | #include <mbedtls/bignum.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.

Apparently, this header files is part of mbedtls v3, but no longer exists in v4. Homebrew installs v4 by default now and some other utilities link to it. I've removed it from my machine as I don't need the other stuff, allowing me to brew install mbedtls@3 and brew link mbedtls@3, but that is calling for trouble in the future. If switching to v4 is not easy, maybe making the correct mbedtls version a submodule would be better?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions