项目介绍

veandco/go-sdl2 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前获得 2.3k 个 Star、229 次 Fork。

仓库全名
veandco/go-sdl2

README 摘要

For SDL3, please check https://github.com/JupiterRider/purego-sdl3 which doesn't require cgo and uses codegen! go-sdl2 is SDL2 wrapped for Go users. It enables interoperability between Go and the SDL2 library which is written in C. That means the original SDL2 installation is required for this to work. Note that the first build may take several minutes on machines that are not powerful such as Raspberry Pi. NOTE…

完整内容见 GitHub 原始 README 或本页 。

常见问题

go-sdl2 用什么语言开发?

主要使用 C 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前有 2.3k 个 Star。

go-sdl2 可以免费商用吗?

仓库采用 BSD 3-Clause "New" or "Revised" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 go-sdl2 的源码?

可以直接克隆仓库:git clone https://github.com/veandco/go-sdl2.git,默认分支为 master;安装与运行步骤见仓库 README。

go-sdl2 最近还在维护吗?

仓库最近一次更新为 2025年2月20日,当前有 88 个未关闭 Issue;Star 数为 2.3k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

SDL2 binding for Go

以下为仓库作者撰写的原始描述。

简要分析

热度分
2828
价值分
1464
活跃状态
活跃

语言占比

Batchfile
C
C++
Go
Makefile
Objective-C

Release