-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/cgo: how to use third part framework? #32686
Comments
What is the exact command that you ran? What is the complete and exact output? I don't know how the |
Sorry, |
You need to install your framework to the expected location. If not you need to use the For proper help I suggest you ask around in the normal OSX developer places as this is not a Go specific thing. https://developer.apple.com/support/ |
Thank you, |
If there are C/C++/etc... sources in the same folder as Go sources, they will automatically be compiled and included into the Go program without Also should mention, you should not compile with gomobile and trying to include that into another Go program/library. |
Hi there, There are many other methods to get help if you're still looking for answers:
Thanks |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
#cgo LDFLAGS: -framework third-part-framework
What did you expect to see?
third part framework can work
What did you see instead?
third part framework cannot be found
The text was updated successfully, but these errors were encountered: