Skip to content
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

Deps in the repo. #6

Open
gedw99 opened this issue Feb 21, 2025 · 2 comments
Open

Deps in the repo. #6

gedw99 opened this issue Feb 21, 2025 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Feb 21, 2025

To do a cross platform build from Mac, you need all the OS deps.

https://github.com/cogentcore/webgpu/tree/main/wgpu/lib solves it this way and it makes it so much easier for a dev to get going.

We could do a similar thing ?

@JupiterRider
Copy link
Owner

JupiterRider commented Feb 21, 2025

Hey @gedw99 ,

at the moment I am not planning to do this.

Linux and FreeBSD users can and should install SDL3 through their package manager. Rolling releases (like Archlinux) already have SDL3 in the repository and upcoming releases (like Debian 13 or Ubuntu 25.04) will have. The package manger also resolves required dependencies - a single libSDL3.so file wouldn't.

Windows users can simply grab the SDL3.dll from the releases page ( SDL3-3.2.4-win32-x64.zip).

On macOS you can use Homebrew or MacPorts.

Apart from that, cross-compiling is always possible. SDL3 is a runtime dependency, and not a compile-time dependency.

If you really want the dependencies embedded, you can look at @Zyko0 's binding: Zyko0/go-sdl3#1 .

Best regards

@gedw99
Copy link
Author

gedw99 commented Feb 22, 2025

Thanks @JupiterRider

Thanks for the links ! I’m pretty excited about this project .

Good you explained all this .

I will build a little golang downloader to automate all this , so I can CI this more easily . Chime in if you have more to add.

Android and iOS ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants