-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Cannot build on Mac with M1 chip. #2744
Comments
On which branch did you test to compile the code ? We fixed the cmake based build for the M1 Mac on the develop branch some time ago. Will be available on the master branch with the next major release. |
@NorbertHeusser Indeed I builded mosquitto from the master branch. After checking out the develop branch I had to install 2 more dependencies (CUnit and uthash). However, I can now confirm that the develop branch gives similar errors.
|
See proposed solution in #2858 (comment) |
The proposed solution worked for me. Thank you! I was having a similar problem while trying to build |
Building the latest mosquitto source code results in the following linker error on a Mac with the Apple M1 chip.
The text was updated successfully, but these errors were encountered: