Yeah, sorry about that one, in general the activate command needs to take in the same set of options that install did, e.g. the same applies for --build=Release or --build=Debug flags as well. That's because one can have multiple variants of the one tool compiled. I can see if I could autodetect this in case user only has one of these tools installed to make this a bit smoother.
2017-02-12 11:25 GMT+02:00 Jean-Marc Le Roux <[email protected]>: > To anyone running in the same problem, you have to pass the --vs2015 > command line argument even for the activate command! > > emsdk activate --vs2015 emscripten-master-64bit sdk-master-64bit > > I feel dumb now since it's actually written in the usage of emsdk... > > --vs2013/--vs2015: If building from source, overrides to build >> using the specified compiler. When installing >> precompiled packages, this has no effect. >> Note: The same compiler specifier must be >> passed to the emsdk activate command to >> activate the desired version. > > > On Sunday, February 12, 2017 at 10:21:56 AM UTC+1, Jean-Marc Le Roux wrote: >> >> Hello, >> >> for some reason, I cannot activate any clang-* or sdk-* using emsdk. >> Running the following command works: >> >> emsdk install --vs2015 sdk-master-64bit >> >> and ends with: >> >> Done installing tool 'emscripten-master-64bit'. >> Done installing SDK 'sdk-master-64bit'. >> >> but then this fails: >> >> emsdk activate sdk-master-64bit >> Writing .emscripten configuration file to user home directory C:\Users\ >> jeanm/ >> The SDK/tool 'clang-master-64bit' cannot be activated since it is not >> installed! Skipping this tool... >> The SDK/tool 'sdk-master-64bit' cannot be activated since it is not >> installed! Skipping this tool... >> >> When I run emsdk list, sdk-master-64bit is not marked as installed. >> Yet running the install command again says it is installed... >> >> I tried doing the same with sdk-tag-1.37.2-64bit and I got the same >> behavior. >> >> I can only use the pre-built 1.35 package. >> I'm on Windows 10 64bit. >> >> How can we fix this? >> > -- > 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.
