Closed Joncom closed 11 years ago
Why recompile? I have the same problem....
Because the setting that the error message says to change is a setting used only at compile time. If you know where in the final JavaScript file the setting takes effect, you could change it yourself and not recompile. However, I cannot remember where/what exactly to change...
Should be functionPointers: ..
, can change it to functionPointers: new Array(1024)
for example.
On Mon, Sep 23, 2013 at 2:14 PM, Jonathan Commins notifications@github.comwrote:
Because the setting that the error message says to change is a setting used only at compile time. If you know where in the final JavaScript file the setting takes effect, you could change it yourself and not recompile. However, I cannot remember where/what exactly to change...
— Reply to this email directly or view it on GitHubhttps://github.com/kripken/box2d.js/issues/25#issuecomment-24955228 .
"functionPointers:" ?
Yeah. Odd. I see functionPointers
in my local copy of box2d.js, but not in the one in the latest repo. It's not there.
Repo one might be minified, so harder to find - might need to rebuild it then.
On Thu, Sep 26, 2013 at 4:41 PM, Jonathan Commins notifications@github.comwrote:
Yeah. Odd. I see functionPointers in my local copy of box2d.js, but not in the one in the latest repo. It's not there.
— Reply to this email directly or view it on GitHubhttps://github.com/kripken/box2d.js/issues/25#issuecomment-25212732 .
Error message: "Uncaught Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."
This occurs when calling the following function:
Do I need to recompile Box2D to change this setting?
Edit: Yes, it appears I do.