-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
How to ship release version #579
Comments
@mokiat You can use https://github.com/auriamg/macdylibbundler to pack libraries that app depend on in the bundle. Also, you can use
Hope this helps, all in all, the issue is not really related to this repo. |
@veeableful , I am familiar with app bundles. I already have a tool that builds such a bundle with glfw. The benefit there is that I don't need to package any libs, since the OS already has them by default. I am looking into using SDL2 for a number of reasons (sound being one of them), however, but the library part is making the whole process painful. @gen2brain , thanks for the ideas. I managed to use I think that it has to do with the fact that brew says it has installed one version of SDL but the dylibs are a totally different version. And when I use Do you know if there is a way to force Go to ignore |
In the end I went with static linking of SDL2. Closing this. |
Go version: 1.21.3
Go-SDL2 version: v0.4.35
SDL2 version: 2.28.5
OS: MacOS
Architecture: ARM
Hi,
I installed sdl2 + sdl2 mixer via brew. I then built a binary and then uninstalled sdl2 to simulate the environment of a potential user of my app. When running the executable I get the following error:
I can't seem to find dylib distributables in the official SDL releases. There are
dmg
files but those contain extensionless files. Any idea where I could get thedylib
files from? Also, once I do get a hold of them, what needs to be done to trick the app to search for such files in the same directory as the binary and not inhomebrew
?I am trying to ensure that an app can easily be packaged afterwards, without having to put
for MacOS run brew install ....; for Linux run apt install
documentation and expecting users to know what to do and want to do it.The text was updated successfully, but these errors were encountered: