kripken/emscripten — Issue #134: Unable to compile Box2D
Author: kjmph
Created: 2011-12-06 22:34:54+00:00
State: open

I get the following error when building Box2D with emscripten. I tried Node.JS 0.4.9 and 0.6.5. I can hand over the box2d.opt.bc if that would help.

python /home/USER/projects/emscripten/emscripten.py box2d.opt.bc > box2d.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'lines' of undefined
at eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8)
at Array.forEach (native)
at eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8)
at Array.forEach (native)
at eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8)
at Array.forEach (native)
at Object.processItem (eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8))
at Object.process (eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8))
at Object.solve (eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8))
at analyzer (eval at globalEval (/home/USER/projects/emscripten/src/compiler.js:73:8))