-
Notifications
You must be signed in to change notification settings - Fork 52
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
webgl support? #13
Comments
okey, I forgot to enable CGO, now the error is diffrent: [examples (2) ]$ CGO_ENABLED=1 GOOS="js" GOARCH="wasm" go build -o main.wasm main.go
# runtime/cgo
cgo: unknown ptrSize for $GOARCH "wasm" |
well, two years ago it was this way: golang/go#40543 |
I found this one; maybe it could be used to compile C code into webgl? https://emscripten.org/docs/introducing_emscripten/about_emscripten.html |
well, so emscripten is able to compile DearImGui. the next step is, to enable this feature in CGO: golang/go#55351 |
ok, so I'm done with researches for today 😄 waiting for any feedback |
@gucio321 Hah, WebGL is out of my knowledge scope... But, I will do some research! |
@gucio321 I spent two days but sadly saying I didn't find a way. Sign... |
@AllenDang takie a look on this one: golang/go#55351 This issue needs to wait for a new go release |
Hey @gucio321 |
Hi there!
IT IS AWESOME!!!!!!! Finally there is some imgui wrapper that is 100% automatic ;-)
What should be done to support WebGl? for now, the build output looks as follows:
let me know if I can help ;-)
The text was updated successfully, but these errors were encountered: