Replies: 1 comment 1 reply
-
VS2010 is not supported for automatic detection and env setup. You'll need some manual triplet setup to make it work. You probably can simply set VCPKG_CHAINLOAD_TOOLCHAIN file to the value vcpkg normally uses. This dectivates the automatic setup but also means you have to run from a dev cmd with everything already set up |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting the dreaded (at least by me) "error: in triplet x64-windows: Unable to find a valid Visual Studio instance" and I don't know how to resolve it, or if it is even possible to resolve. Here's how I got here:
vcpkg install libzip --triplet=x86-windows
and get the error message above.VCPKG_DEFAULT_TRIPLET
andVCPKG_DEFAULT_HOST_TRIPLET
environment variables tox86-windows
and got a different, very unexpected error:error: Invalid triplet: x86-windows
Visual Studio 2010 is installed with all of the default folders, paths, etc. and has been working just fine for 14 years. Apparently, vcpkg has a different view of how things should be installed and doesn't care about how Microsoft installed the product for me.
Hopefully, this wonderful community can help me force vcpkg to use the actual configuration of Visual studio instead of whatever imaginary configuration it is using.
Of, if there is some VS component that I did not originally install, then the error message is junk, since it should tell me exactly what component was not found so that I might at least have a chance to solve this on my own. If any vcpkg developers are reading this, please take note.
Beta Was this translation helpful? Give feedback.
All reactions