eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.08k stars 444 forks source link

[Bug]: CodeLite doesn't detect existing mingw-w64 installations #3326

Open yunkot opened 3 months ago

yunkot commented 3 months ago

What happened?

CodeLite does not seem to be able to detect existing installations of mingw-w64 on Windows.

In my case, I have the following paths with existing installations:

c:\mingw\x64\mingw64\bin - 64-bit, GCC 8.1 c:\mingw\x32\mingw64\bin - 32-bit, GCC8.1 c:\mingw-winlibs\x64\bin - 64-bit, GCC 13.2, Clang 17.0.6 c:\mingw-winlibs\x32\bin - 32-bit, GCC 13.2, Clang 17.0.6

I have "c:\mingw-winlibs\x64\bin" added to PATH environment variable as "user variables" on Windows. The first two with "GCC 8.1" were installed using mingw-w64 installer from SourceForge, the newer ones were just extracted to the corresponding paths.

CodeLite 16.4 was the last version that was able to automatically detect them; in fact, it could detect ALL of them, whereas any newer version detects none, leaving only "rustc" in the list, which I don't have installed.

Version

CodeLite 16.5 or newer

Operating system

Windows 7, 10 and 11

yunkot commented 3 months ago

Actually, even running CodeLite in environment where it was built with "msys2" terminal - it doesn't detect MSYS2 either.