-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't cmake on macOS 12.6 #64
Comments
Hi, It seems that CMake cannot find the Mbed TLS library. There may be various reasons for that:
I hope that one of these solutions works for you. |
Unfortunately
Trying to cmake again:
I've also tried to completely remove the repo directory and downloading it again after tried
using Don't know if the warnings are relevant:
How do I compile the example project now?
If that's help: |
If you just want to get the example projects compiled, you can run If you want to follow the tutorials completely, then you would need to run |
Ok after running
Did I missed out on the Readme.md the |
The README file doesn't really describe how to build applications using Anjay. This topic is covered by the Compiling client applications chapter in the documentation.
Homebrew uses non-standard paths when installing libraries. I believe that CMake, if installed also from Homebrew, should be aware of those, but maybe your system lacks some appropriate configuration, or maybe you're using a different version of CMake (e.g. installed manually, or from |
@SebDominguez Similary, on some distros, openssl is not using |
@eabase However, packages in other distributions are not as granular and include both binaries and headers in the same package - this is true on Arch Linux, for example, and also on Homebrew (third-party, but de facto standard package manager on macOS), which is what the OP was asking about. |
@SebDominguez it's been a while, we made some changes in Anjay dependencies regarding compilation on MacOS, brew libraries changes as well of course. Could you comment whether there are still any issues in this matter? |
I've play around with this repo using my mac on macOS 13 without any trouble a month ago.
And now I wanted to give it another go using my older Mac stuck on macOS 12.6 and I can't
cmake .
anymore. Didn't tried on my most recent Mac running Ventura to see if it still can compile the lib but it would be strange if that would be the case. I didn't see any version limitation of this lib for macOS versions.cmake mbedtls and openssl are installed
cmake output:
The text was updated successfully, but these errors were encountered: