-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vswhere does not find the vs 2017 C compiler installed by VS 2019 installer #217
Comments
I could do |
The compiler tools are a feature in VS2019 and not a product themselves. Please open an issue against the Visual C++ compiler team on https://developercommunity.visualstudio.com to help with how to find it, if the instructions in our wiki are not working. |
Thanks. A surprising thing is that In either case, it would be useful to be able to locate e.g. the VS 2017 C tools without knowing which VS version (VS 2017, VS 2019, VS 2021?, ...) installed it, and |
vswhere is for finding VS and other products. Features within those products are up to the feature teams to support. For VS2019 the VC team made a version-compatible way of finding it for future toolsets they should maintain. That doesn't apply to older versions. Please work with the VC++ team on how to properly locate older versions. See our wiki as well since I wrote some examples based on their recommendations. |
OK, thanks. I guess I am confused about where the different responsibilities lie. I'll try to contact the VC++ team. |
I install VS 2019 and select "MSVC v140 - VS 2015 C++ build tools (v14.00)" and "MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)" to have it install the older VS 2015 and VS 2017 C compilers but I cannot get
vswhere
to find the VS 2017 installation so I can run itsvcvarsall.bat
.I think that the VS 2017 C compiler is installed, e.g.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe
exists, but I do not know how to find it (or, what I really want, how to set up the environment with itsvcvarsall.bat
or similar).Also, in the "Start" menu there are command prompts for VS 2019 and for VS 2015 but none for VS 2017.
Any ideas?
Example outputs from
vswhere
:The text was updated successfully, but these errors were encountered: