{"action":"opened","issue":{"url":"https://api.github.com/repos/WebAssembly/wasm-emscripten/issues/1","labels_url":"https://api.github.com/repos/WebAssembly/wasm-emscripten/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/wasm-emscripten/issues/1/comments","events_url":"https://api.github.com/repos/WebAssembly/wasm-emscripten/issues/1/events","html_url":"https://github.com/WebAssembly/wasm-emscripten/issues/1","id":115435035,"number":1,"title":"build errors","user":{"login":"drom","id":511872,"avatar_url":"https://avatars.githubusercontent.com/u/511872?v=3","gravatar_id":"","url":"https://api.github.com/users/drom","html_url":"https://github.com/drom","followers_url":"https://api.github.com/users/drom/followers","following_url":"https://api.github.com/users/drom/following{/other_user}","gists_url":"https://api.github.com/users/drom/gists{/gist_id}","starred_url":"https://api.github.com/users/drom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drom/subscriptions","organizations_url":"https://api.github.com/users/drom/orgs","repos_url":"https://api.github.com/users/drom/repos","events_url":"https://api.github.com/users/drom/events{/privacy}","received_events_url":"https://api.github.com/users/drom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-06T05:17:09Z","updated_at":"2015-11-06T05:17:09Z","closed_at":null,"body":"I am having errors when building the project.\r\n\r\n```sh\r\ndrom@drom:~/work/github/WebAssembly/wasm-emscripten> ./build.sh                                                                                                       \r\nbuilding asm2wasm                                                                                                                                                     \r\nbuilding interpreter/js                                                                                                                                               \r\n./build.sh: line 4: em++: command not found                                                                                                                           \r\nbuilding wasm shell\r\nIn file included from src/wasm-s-parser.h:9:0,\r\n                 from src/wasm-shell.cpp:8:\r\nsrc/wasm.h:996:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitBlock(wasm::Block*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitBlock(Block *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:997:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitIf(wasm::If*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitIf(If *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:998:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitLoop(wasm::Loop*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitLoop(Loop *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:999:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitLabel(wasm::Label*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitLabel(Label *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1000:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitBreak(wasm::Break*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitBreak(Break *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1001:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitSwitch(wasm::Switch*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitSwitch(Switch *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1002:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitCall(wasm::Call*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitCall(Call *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1003:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitCallImport(wasm::CallImport*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitCallImport(CallImport *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1004:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitCallIndirect(wasm::CallIndirect*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitCallIndirect(CallIndirect *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1005:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitGetLocal(wasm::GetLocal*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitGetLocal(GetLocal *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1006:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitSetLocal(wasm::SetLocal*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitSetLocal(SetLocal *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1007:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitLoad(wasm::Load*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitLoad(Load *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1008:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitStore(wasm::Store*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitStore(Store *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1009:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitConst(wasm::Const*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitConst(Const *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1010:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitUnary(wasm::Unary*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitUnary(Unary *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1011:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitBinary(wasm::Binary*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitBinary(Binary *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1012:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitCompare(wasm::Compare*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitCompare(Compare *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1013:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitConvert(wasm::Convert*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitConvert(Convert *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1014:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitSelect(wasm::Select*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitSelect(Select *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1015:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitHost(wasm::Host*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitHost(Host *curr) = 0;\r\n                      ^\r\nsrc/wasm.h:1016:22: error: ‘ReturnType wasm::WasmVisitor<ReturnType>::visitNop(wasm::Nop*) [with ReturnType = wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow]’, declared using local type ‘wasm::ModuleInstance::callFunction(cashew::IString, wasm::ModuleInstance::LiteralList&)::Flow’, is used but never defined [-fpermissive]\r\n   virtual ReturnType visitNop(Nop *curr) = 0;\r\n                      ^\r\n```"}}