This works for me but after running emsdk install latest I get the following errors:
Linking CXX executable ../../../../bin/clang ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `RewriteMacrosAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:66: undefined reference to `vtable for clang::RewriteMacrosAction' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `RewriteIncludesAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:76: undefined reference to `vtable for clang::RewriteIncludesAction' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `RewriteTestAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:71: undefined reference to `vtable for clang::RewriteTestAction' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `RewriteObjCAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:60: undefined reference to `vtable for clang::RewriteObjCAction' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `CreateFrontendBaseAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:53: undefined reference to `clang::FixItAction::FixItAction()' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `HTMLPrintAction': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:23: undefined reference to `vtable for clang::HTMLPrintAction' ../../../../lib/libclangFrontendTool.a(ExecuteCompilerInvocation.cpp.o): In function `FixItRecompile': /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/src/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:54: undefined reference to `vtable for clang::FixItRecompile' collect2: error: ld returned 1 exit status make[2]: *** [bin/clang-3.7] Error 1 make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2 make: *** [all] Error 2 Build failed due to exception! Working directory: /home/devuser/Apps/emsdk_portable/clang/tag-e1.34.1/build_tag-e1.34.1_64 Command '['make', '-j1']' returned non-zero exit status 2 Installation failed! On Tue, Jul 7, 2015 at 4:33 AM, Christian Miller <[email protected]> wrote: > Thanks, emsdk works now! > > > On Tuesday, July 7, 2015 at 11:51:27 AM UTC+2, jay zhang wrote: >> >> finally I found out there is a spelling bugs in file emsdk_manifest.json >>>> >>> >> replace the line 1093: >> "uses": ["clang-tag-%tag%-64bit", "emscripten-tag-%tag%-64bit"], >> to >> "uses": ["clang-tag-e%tag%-64bit", "emscripten-tag-%tag%-64bit"], >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
