-
Notifications
You must be signed in to change notification settings - Fork 2
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
macOS build fix #1
Conversation
My issue still needs to be solved. Has anyone figured this one out? I'm on apple silicon. cc @MaEtUgR
|
@ryanjAA maybe able to test this as well? |
I'm checking 🏃 |
@mrpollo We're too, that's the main reason I'm using an Apple device at all.
I have a feeling this is your toolchain/dependency setup.
Sounds pretty basic like the compiler not being available. Could it have to do with missing Apple Xcode developer tools? I did not manually install it, was part of the brew installation for me and came in automatically. I followed https://github.com/MaEtUgR/MaEtUgR/blob/master/scripts/mac/brew.sh and already had the PX4 toolchain working before attempting PlotJuggler. |
For me the build mainly fails with the
My hacky solution was to just remove all ZMQ support because I don't use it but that's not something contributable and the fix from @farhangnaderi in this pr also doesn't work for me. |
ok my initial hacks branch actually requires a patch to protobuf which is not workable at all. Here's the new one I just tested: |
Thanks @MaEtUgR ,
I corrected them on this pull but your solution passed the classic zmq.h error. |
This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: |
Co-authored-by: Daniel Agar <[email protected]>
.github/workflows/macos.yaml
Outdated
@@ -16,23 +16,35 @@ jobs: | |||
- name: Sync repository | |||
uses: actions/checkout@v2 | |||
|
|||
- name: Update PATH | |||
run: echo "PATH=$PATH:/opt/homebrew/bin:/opt/homebrew/sbin" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You no longer need this step
ci: Fixes macOS builds (#1) adds runners for both Intel and Apple silicon macs --------- Co-authored-by: Daniel Agar <[email protected]> Co-authored-by: Ramon Roche <[email protected]>
Pr fix ci (#3) ci: Fixes macOS builds (#1) adds runners for both Intel and Apple silicon macs --------- Co-authored-by: Daniel Agar <[email protected]> Co-authored-by: Ramon Roche <[email protected]>
ci: Fixes macOS builds (#1) adds runners for both Intel and Apple silicon macs --------- Co-authored-by: Daniel Agar <[email protected]> Co-authored-by: Ramon Roche <[email protected]>
This is initial sketch. Let me know if I am missing anything here!