Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

emscripten PoC#224

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
hazeycode wants to merge2 commits intozig-gamedev:mainfromhazeycode:emscripten
Closed

Conversation

hazeycode
Copy link
Member

@hazeycodehazeycode commentedFeb 24, 2023
edited
Loading

Hacky PoC to illustrate horrible workarounds required to support emscripten and start a discussion on the topic.

Currently, this builds and then hits some unreachable at runtime. I will do some debugging and try to get it further if and when I can but no promises.

To build and run the minimal_sdl sample in your web browser:
zig build minimal_sdl-run -Dtarget=wasm32-emscripten --sysroot emscripten/emsdk/upstream/emscripten/cache/sysroot

required reading:

todo:

  • request webgl compatible context

@hazeycodehazeycode changed the titleemscripten PoC: get minimal_sdl to buildemscripten PoCFeb 24, 2023
@hazeycode
Copy link
MemberAuthor

hazeycode commentedNov 23, 2023
edited
Loading

Closing because this is out of date and somewhat superseded by#309. Will leave the branch up for reference.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@hazeycode

[8]ページ先頭

©2009-2025 Movatter.jp