-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Generated path to detect compiler information contains a semicolon instead of a colon #43063
Comments
Command shell ? |
Iirc this happens if you try to use the mysys/mingw version of cmake outside of git bash |
yes, PowerShell to be specific, if your question refers to this |
windows command or powershell or git bash shell , all of them same bug. |
I upgrade the CMAKE 3.13.3 and the bug is missed, you can try it. |
This error is known to occur with CMake from MSYS or Cygwin environments (which are not MinGW environments). Check/clean your |
@dg0yt Do you think it is a good idea to skip this cmake version in the vcpkg-tool and fallback to the version from vcpkg-tools.{xml,json}? Is there some path prefix to detect that version? |
IMO it should be skipped in the tool. There are many possible approaches:
|
Describe the bug
When I update all installed packages, I always get an error message that the path to the compiler information supposedly does not exist. The path it attempts to open starts with
C;/
(semi-colon) instead ofC:/
(colon) and therefore results in an error.Environment
To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe upgrade --no-dry-run
Expected behavior
VCPKG is expected to upgrade all installed packages
Failure logs
C:\vcpkg\buildtrees\detect_compiler\stdout-x64-windows.log
The text was updated successfully, but these errors were encountered: