-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Community triplets not working because of toolchain detection mechanism #12065
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
Comments
Hi @longnguyen2004 |
I'm using the |
Which port do you install? |
Every port I try results in the same error |
Thanks for your update. It seems that there is something missing in @cristianadam |
@NancyLi1013 I tested tag "2020.01" and vcpkg builds with my TDM MinGW GCC 9.2.0 and Regarding master, I had to apply #12084 to get it building. But when I tried @longnguyen2004 either use vcpkg "2020.01" or wait until the problem with the toolchain gets fixed. |
@longnguyen2004 Try #12084. |
@cristianadam you mentioned the wrong person :) anyway I'll try it now |
I've updated the previous comment. Sorry about that. I used the fix you provided for build.cpp in order not to get the Unable to determine toolchain error. Then the #12084 allows me to build vcpkg and install packages via |
I'm trying to find a better fix since |
我遇到这个问题有点恶心,因为 vcpkg 的源代码忽略了 MinGW:
解决方法是修改 build.cpp 重新编译 vcpkg:
|
I think the best way is to simply ignore the toolchain selection in |
* Build fix with MinGW GCC 9.2.0 * Fix MinGW tripplets Fixes #12065 * clang-format * Fix unused read_symlink_implementation warning marked as error read_symlink_implementation was used only in copy_symlink_implementation when #if defined(_WIN32) && !VCPKG_USE_STD_FILESYSTEM was true. Removed the warning otherwise. Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
@longnguyen2004 @jimboyeah |
@longnguyen2004 |
Alright got it, I actually have a couple of patches ready 😃 |
* Build fix with MinGW GCC 9.2.0 * Fix MinGW tripplets Fixes microsoft#12065 * clang-format * Fix unused read_symlink_implementation warning marked as error read_symlink_implementation was used only in copy_symlink_implementation when #if defined(_WIN32) && !VCPKG_USE_STD_FILESYSTEM was true. Removed the warning otherwise. Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* Build fix with MinGW GCC 9.2.0 * Fix MinGW tripplets Fixes microsoft#12065 * clang-format * Fix unused read_symlink_implementation warning marked as error read_symlink_implementation was used only in copy_symlink_implementation when #if defined(_WIN32) && !VCPKG_USE_STD_FILESYSTEM was true. Removed the warning otherwise. Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Trying to use
*-mingw
triplets gives me anUnable to determine toolchain to use for triplet
error. There are no references to community triplets in the documentation either. Am I missing something here?The text was updated successfully, but these errors were encountered: