{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/ammo.js/issues/107","labels_url":"https://api.github.com/repos/kripken/ammo.js/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/kripken/ammo.js/issues/107/comments","events_url":"https://api.github.com/repos/kripken/ammo.js/issues/107/events","html_url":"https://github.com/kripken/ammo.js/issues/107","id":74020311,"number":107,"title":"Errors building ammo.js","user":{"login":"mbrazell","id":1242139,"avatar_url":"https://avatars.githubusercontent.com/u/1242139?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrazell","html_url":"https://github.com/mbrazell","followers_url":"https://api.github.com/users/mbrazell/followers","following_url":"https://api.github.com/users/mbrazell/following{/other_user}","gists_url":"https://api.github.com/users/mbrazell/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrazell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrazell/subscriptions","organizations_url":"https://api.github.com/users/mbrazell/orgs","repos_url":"https://api.github.com/users/mbrazell/repos","events_url":"https://api.github.com/users/mbrazell/events{/privacy}","received_events_url":"https://api.github.com/users/mbrazell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T15:11:43Z","updated_at":"2015-05-07T18:58:51Z","closed_at":null,"body":"I'm trying to build ammo.js, so that I can add setGravity() to rigid bodies.  I'm getting the following errors when I run python make.py:\r\n\r\n>python make.py\r\n\r\n--------------------------------------------------\r\nBuilding ammo.js, build type: ['-O3', '--llvm-lto', '1', '-s', 'NO_EXIT_RUNTIME=\r\n1', '-s', 'AGGRESSIVE_VARIABLE_ELIMINATION=1', '-s', 'NO_DYNAMIC_EXECUTION=1', '\r\n--memory-init-file', '0', '-s', 'NO_FILESYSTEM=1', '-s', 'NO_BROWSER=1', '-s', '\r\nTOTAL_MEMORY=67108864']\r\n--------------------------------------------------\r\n\r\n\r\n==========================\r\nStage 1: Generate bindings\r\n==========================\r\n\r\nTraceback (most recent call last):\r\n  File \"C:/Program Files/Emscripten/emscripten/1.29.0\\tools\\webidl_binder.py\", line 36, in <module>\r\n    data = p.finish()\r\n  File \"C:\\Program Files\\Emscripten\\emscripten\\1.29.0\\third_party\\WebIDL.py\", line 4975, in finish\r\n    production.finish(self.globalScope())\r\n  File \"C:\\Program Files\\Emscripten\\emscripten\\1.29.0\\third_party\\WebIDL.py\", line 629, in finish\r\n    member.finish(scope)\r\n  File \"C:\\Program Files\\Emscripten\\emscripten\\1.29.0\\third_party\\WebIDL.py\", line 3310, in finish\r\n    returnType = returnType.complete(scope)\r\n  File \"C:\\Program Files\\Emscripten\\emscripten\\1.29.0\\third_party\\WebIDL.py\", line 1469, in complete\r\n    [self.location])\r\nWebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::btScalar'., <unknown> line 124:10\r\n  [Const] btScalar getDistance();\r\n          ^\r\nTraceback (most recent call last):\r\n  File \"make.py\", line 85, in <module>\r\n    assert os.path.exists('glue.js')\r\nAssertionError\r\n\r\n\r\n\r\nAny ideas on what I'm doing wrong?  I have the latest from github.  \r\n\r\nAlternatively, is there any way I can simulate setGravity() without having to build?\r\n\r\nFor context, I'm trying to detect collision for a selected object (one that I move with my mouse), so I don't want it responding to gravity between simulation steps.\r\n\r\nSincerest thanks."},"comment":{"url":"https://api.github.com/repos/kripken/ammo.js/issues/comments/99980318","html_url":"https://github.com/kripken/ammo.js/issues/107#issuecomment-99980318","issue_url":"https://api.github.com/repos/kripken/ammo.js/issues/107","id":99980318,"user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T18:58:51Z","updated_at":"2015-05-07T18:58:51Z","body":"Latest which branch? On incoming it works for me. But I think master should work too.\r\n\r\nDoes the emscripten `test_webidl` test pass? (`tests/runner.py test_webidl`)"}}