Search code examples
mingwclionmingw-w64

CLion: mingw not found reported by cmake


cmake window

toolchain config window

I could not make CLion's cmake running because it says "mingw not found". How can I deal with it?


Solution

  • One of the solutions can be found: https://intellij-support.jetbrains.com/hc/en-us/community/posts/4614942885394-Msys2-Mingw-environment-is-not-detected, the cause of this might be a new commit to MINGW making CLion unable to detect Toolchain even you specify. so to solve this, just download CLion 2022 EAP and import settings from the old version.

    But before trying this approach, check if your config about Toolchain is correct