Clion cannot find MinGW
Asked Answered
C

1

6

Clion just cannot find MinGW even I properly set right path.
Someone ask me to post image of C:\msys64 folder. It used to work fine. But at some point it didn't work. Maybe after I upgraded MinGW or Clion. enter image description here

enter image description here

enter image description here

enter image description here

Cortes answered 20/2, 2022 at 14:3 Comment(3)
Did you install MSYS2 and install at least one mingw-w64-x86_64 package? Otherwise that folder might not exist. Please post a screenshot of what Windows Explorer shows for C:\msys64\ so we can see what folders you have there.Refreshment
Clion can detect make, gcc, g++. But still told me can't find MinGWCortes
@DavidGrayson here you go. I swear I install msys2 properly.Cortes
G
3

There is a temporary fix available for mingw-w64-i686-gcc, mingw-w64-ucrt-x86_64-gcc, mingw-w64-x86_64-gcc 11.2.0-9: See this youtrack issue.

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

Modified Quote from Arnaud Dovi

Grof answered 22/2, 2022 at 9:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.