-
Notifications
You must be signed in to change notification settings - Fork 121
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
Looking for suggestions on how to debug dynCall_ifff not found #63
Comments
Ok, Digging pretty deep into this looks like that dyncall could be expected assuming the first uint is the this pointer and the other values are the parameters. All other functions also have a leading uint32 value so this makes sense. The problem arises from the fact that Module doesn't expose dynCall_ifff, in fact, none of the dynCall names in module have float values. There are double values, but not float. It appears that emscripten does not enable float values to be passed or at least does not automatically convert them. |
I am going to try compiling with the latest emscripten and see how that goes. |
Further investigation shows that this is definitely a nbind related issue. Changing the emscripten compiler did nothing to change the behavior, and following the javascript side of things shows that the call for this non-existent function originates from nbind code. (em-api.js:1269) I can find a stack trace of things if it would help. |
It should work now in |
Currently I have an issue with emscripten telling me that dynCall_ifff does not exist for Vector3 constructor.
Which is odd because it really shouldn't exist, so I don't know why it is looking for it.
My Vector3 constructors:
Is this a problem with my code, nbind, or emscripten and how should I go about fixing/debugging it?
I can supply any other info you think might be relevant.
(Possibly relevant info: This exact code works fine for a standard node binding build).
The text was updated successfully, but these errors were encountered: