-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
[GithubActions] add an aarch64-apple-darwin build to releases #44
Comments
Could you give me the output of ls /usr/local/lib | grep libadwaita ? And did you try executing the downloaded The dependencies I installed are brew install gtk4
brew install libadwaita |
the output of output of
a system wide search with
yes i did but it was still not working (same error message)
as a temporary workaround, I create a symbolic link from the libadwaita to it's expected place
Running the release get me the following error message indicating that I try to run it on the wrong architecture (m1) which is progress but probably another issue.
|
It seems like on M1 / Apple Silicon the libraries are installed in The binary uploaded for the releases is compiled for Intel Macs so it would be expected that it does not work. You would need to run it via rosetta (2?) in this case. I can not personally test this right now but from what I've read it would be something along the lines of arch -x86_64 lan-mouse-mac I only briefly got a chance to test on an actual M1 mac and had some rendering issues with libadwaita (only a black box was displayed instead of the actual window). For that reason I did not want to publish a binary for M1 Macs yet. You mentioned that you got it to work when compiling from source: Did you run into the same issue or did the window get displayed correctly? If it works on your end, I would update the GitHub-Actions runner to produce a |
running
running software from source result in proper display with no visible artifact on m1 hardware 👍 |
Thats good news! I will update the release to include an Apple Silicon build then. In order to install the correct x86_64 libraries you might need to install & run homebrew under rosetta as well. |
Small update: The m1 hosted runners don't seem to be free of charge yet, so I need to setup a cross-compilation toolchain (still figuring out how to setup pkg-config for that). |
closed in #45 |
Running chmod +x on lan-mouse-mac binary results in an error due to missing libadwaita-1.0.dylib.
brew install libadwaita
didn't resolve the issue.error log
Temporary Solution
when I compiled the source code after installing libadwaita via brew, I was able to run the locally compiled binary successfully.
This leads me to believe that the issue might be specific to the pre-compiled binary.
The text was updated successfully, but these errors were encountered: