{"id":16699266,"url":"https://github.com/ousttrue/zig-opengl-wasm","last_synced_at":"2025-04-10T03:41:39.143Z","repository":{"id":136461945,"uuid":"534888968","full_name":"ousttrue/zig-opengl-wasm","owner":"ousttrue","description":"sample","archived":false,"fork":false,"pushed_at":"2023-04-01T18:15:46.000Z","size":68,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T05:01:39.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ousttrue.github.io/zig-opengl-wasm/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ousttrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-10T04:20:39.000Z","updated_at":"2023-02-23T23:14:11.000Z","dependencies_parsed_at":"2023-04-21T07:02:30.169Z","dependency_job_id":null,"html_url":"https://github.com/ousttrue/zig-opengl-wasm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fzig-opengl-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fzig-opengl-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fzig-opengl-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fzig-opengl-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ousttrue","download_url":"https://codeload.github.com/ousttrue/zig-opengl-wasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154963,"owners_count":21056541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T18:06:27.028Z","updated_at":"2025-04-10T03:41:39.135Z","avatar_url":"https://github.com/ousttrue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-opengl-wasm\n\nsample\n\n- [zig で OpenGL、そして wasm](https://qiita.com/ousttrue/items/4802b61ba340dd7d89f3)\n\n## 202304更新\n\n- `zig-0.11.0-dev.2336`\n- glfw を cmake でビルドせずに build.zig でコンパイルする\n  - [x] Windows11\n  - [x] Ubuntu22.04\n  - [ ] WSL(動くがOpenGLの絵が出ない)\n  - [x] wasm https://ousttrue.github.io/zig-opengl-wasm/\n\n## desktop build\n\n```\n$ cd engine\nengine$ zig build\nengine$ cd ../desktop\ndekstop$ zig build\n```\n\n### run\n\n```\ndekstop$ zig-out/bin/desktop\n```\n\nwindows は `engine.dll` にパスを通す必要があります。\n\n```\ndesktop$ cp ../engine/zig-out/lib/engine.dll zig-out/bin/\ndesktop$ zig-out/bin/desktop\n```\n\n## wasm build\n\n```\n$ cd engine\nengine$ zig build -Dtarget=wasm32-freestanding\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fzig-opengl-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fousttrue%2Fzig-opengl-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fzig-opengl-wasm/lists"}