kripken / box2d.js

Port of Box2D to JavaScript using Emscripten
1.32k stars 198 forks source link

Box2D.js will not compile on Windows 7 using the 'make' command. #30

Closed Joncom closed 11 years ago

Joncom commented 11 years ago

Here is a dump of the command prompt along with the error message:

D:\wamp\www\box2d.js>make
/emscripten/emcc -IBox2D_v2.2.1 Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.cpp -o
 Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.bc
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module named encodings.utf_8

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make: *** [Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.bc] Error 3

(Using Python 2.7.5, Node.js 0.8.15, gcc 4.6.2 and Clang 3.2)

Joncom commented 11 years ago

I got frustrated with a myriad of problems trying to get things working on Windows, so I gave up and set up a Linux box.