-
Notifications
You must be signed in to change notification settings - Fork 16
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
Contribution: Fail to compile Glance #20
Comments
Hello, could you let me know the output of the |
You would want to either symlink go to /usr/local/bin/go, or change $PATH in Xcode, or replace go with an absolute path. |
Thanks for your help. I installed Go using homebrew. On M1 Mac, you need to change the export PATH="$PATH:/opt/homebrew/bin"
cd ./HTMLConverter/
GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build --buildmode=c-archive -ldflags "-s -w" -o ./htmlconverter-amd64.a
GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build --buildmode=c-archive -ldflags "-s -w" -o ./htmlconverter-arm64.a
lipo -create -output htmlconverter.a htmlconverter-amd64.a htmlconverter-arm64.a
cp htmlconverter-amd64.h htmlconverter.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone, I've been using Glance for a long time and I'm considering to contribute to this project since it is now open source ! I've tried to design a set of icons for the app to make it better match with the new Big Sur style of macOS. I wanted to try it in the app but I'm having trouble to compile it.
I've read the contribution section in the README, but I still fail to launch the app on my computer. I've installed go and I'm using Xcode 13.4.1. When compiling the Glance target, I'm facing this issue:
This output comes from the QLPlugin script in its build phase:
This script fails to run even if go is installed and working on my Mac. Is there any step I've been missing to make it work ?
The text was updated successfully, but these errors were encountered: