我最近从MSYS2安装了64位MinGW工具链,并已将其添加到我的Windows系统路径中。
windows terminal g++ version check
但是,当我尝试将其添加到Clion时,它告诉我,即使我指定了正确的路径,也找不到它。
clion toolchain configuration
有人知道哪里出了问题吗?
Mingw-W64-I686-GCC有一个临时修复程序, Mingw-w64-ucrt-x86_64-GCC,mingw-w64-x86_64-GCC 11.2.0-9:请看这里 YouTrack问题。
FYI, it is possible to workaround the problem with
cd msys[2,64]/[ucrt64|mingw64]/x86_64-w64-mingw32
cd msys[2,64]/mingw32/i686-w64-mingw32
mklink /D include ../include
Arnaud Dovi修改后的报价
来自: https://stackoverflow.com/a/71218465/12557703