You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-834 Very unhelpful error message when clang++ cannot be invoked
Issue Description:
I just spent ten minutes on Ubuntu 14.0.4 trying to figure out what this error message means:
error: invalid inferred toolchain
Turns out that it's because I hadn't installed `clang`. While this is not a common error message, it is disproportionally likely to affect those people setting up a new `swiftpm` environment, so there is value in fixing it.
It also turns out that this error ("invalid toolchain") can be throw also when `swiftc` isn't found. This really needs to be specific and actionable.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 7f373ed76d4e27652b285ccb19f1bdcb
is duplicated by:
clang++
cannot be invokedIssue Description:
I just spent ten minutes on Ubuntu 14.0.4 trying to figure out what this error message means:
Turns out that it's because I hadn't installed `clang`. While this is not a common error message, it is disproportionally likely to affect those people setting up a new `swiftpm` environment, so there is value in fixing it.
It also turns out that this error ("invalid toolchain") can be throw also when `swiftc` isn't found. This really needs to be specific and actionable.
The text was updated successfully, but these errors were encountered: