-
Notifications
You must be signed in to change notification settings - Fork 282
improvements: make this library importable instead of forcing it to be the top level. #3
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
Comments
Make a go library is intended. But, for now, I am focusing on making the proof of concept work on multiple platforms.
Could you be more specific? (If I can help). |
i'm working towards the library functionality, so I customized your code atm. basically this problem is the flutter shared library is nested in vendor. |
biggest help would be finding where go does its shared library loading so I can debug where its looking, though I suspect its coming from a native library go calls out to. |
Go is loading the shared library on this line. The Try to add the |
oh I know where it was in repo, I was being very literal about trying to find out where go runtime attempts to do the loading. basically getting this error:
and I can't find any of those strings in the go runtime =( |
And I am guessing that |
havent dug that far yet. will dig more when I get back to it later tonight or next week. |
alright you were correct on rpath being the issue. removing $ORIGIN/ from it let the runtime find the library. would you like a PR making the minor adjustments? |
still playing with the code, but think this should work closer to how go-gl/glfw works where you can just import and go.
been working on getting these changes to work running into issues with the shared library, which i haven't had a chance to track down. basically go is having trouble loading the library but isn't being clear on where its looking.
The text was updated successfully, but these errors were encountered: