vs-tool currently works with Visual Studio 2010 and Clang 3.2. It's not possible to build Clang with VS2012 or newer due to some VS compiler issues, which LLVM devs have pointed to have been fixed in Clang 3.4 stable release (which though we don't yet use in Emscripten). Building Clang 3.2 with VS2010 and CMake should work ok, so that would be your best try. I'm not sure where the "Host Visual Studio must be at least 2012" message comes from - perhaps that is something that Clang added in 3.4 release or newer?
2014-02-03 Mark Hahn <[email protected]>: > I remembered that I had built the llvm toolchain with cmake set for > generator Visual Studio 12. I tried to go back and redo the llvm build for > Visual Studio 10. However cmake says that "Host Visual Studio must be at > least 2012 (MSVC 17.0)". So I seem to be between a rock and a hard place. > I will try wiping everything and starting from scratch with vs 2010. > Hopefully i can find a llvm build compatible with 2010. > > Is it possible the current clang/llvm/emscripten toolchain is not > compatible with visual studio? > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
