-
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: _crosscall2 not found from .dylib/.so generated by Swig in OS X Mountain Lion #4267
Labels
Milestone
Comments
Labels changed: added priority-soon, removed priority-triage. Owner changed to @ianlancetaylor. Status changed to Accepted. |
same error with windows. Output of "go build -x -v ." from within GOROOT/misc/swig/callback is attached Attachments:
|
Same error exists in windows but with "C" itself. Output of "build -x -v ." from GOROOT/misc/swig/callback is attached. Attachments:
|
I installed Swig 2.0.10 and, after changing your Makefile to invoke swig with -intgosize 64, was able to build the binary, and it runs fine: $ DYLD_LIBRARY_PATH=go/lib go/bin/main Message is: A Message $ I suspect this was fixed by the introduction of external linking on OS X. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by nigel@vannevartech.com:
Attachments:
The text was updated successfully, but these errors were encountered: