-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
state of js compilation #56
Comments
Cool, I'm in the same boat 👍 The core library we use for all of our OpenGL / rendering stuff actually works to be built via There is a gap today to get Revery working completely in the browser - the library we use for parsing / rendering font characters only works on native today: revery-ui/reason-fontkit#3 - we'll definitely need to fix that. But it looks like there is a bug there - I think it's a bug with |
Worked through a few issues here:
Now we're hitting errors like:
This is expected since |
With the work @jchavarri did to bring |
The only notes I see concerning web support are an unchecked box for supporting it as a platform, so I'm assuming this is a known issue, but I'm curious what the state of it is. In the build, I see the script 'build:js'. I ran it, then started an http server in
_build/default/examples
and opened index.html. I got the following error:Uncaught TypeError: runtime.caml_glfwDefaultWindowHints is not a function
I checked
_build/default/examples/Bin.bc.js
, and it seems to be defined.I'm personally interested in using js_of_ocaml for full stack dev, so very curious about the root cause here and steps to debug and solve.
The text was updated successfully, but these errors were encountered: