Scan for MinGW kits is not working
See original GitHub issueJust for the record: Maybe I am doing something wrong but it seems to me that cmake.mingwSearchDirs
is not loaded from the configuration and thus kit_options.minGWSearchDirs
is undefined and no scan for MinGW kits is performed:
if (isWin32 && kit_options.minGWSearchDirs) {
for (const dir of convertMingwDirsToSearchPaths(kit_options.minGWSearchDirs)) {
scan_paths.add(dir);
}
}
This needs further investigation for me to confirm it.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Scan for Kits can't detect different MinGW compilers if ... - GitHub
Let's say I use MinGW 8.1.0 x86_64, so GCC 8.1.0 64 bits. ... The problem is that the "Scan for kits" command only...
Read more >CMake does not work with g++ installed with MinGW
Try reinstalling the program to fix this problem. Here is the full ouput: The CXX compiler identification is unknown Check for working CXX...
Read more >MinGW FAQ
Information about the Mingw Compiler. Includes descriptive information and questions commonly brought up on the mailing list.
Read more >I already have MinGW on my computer. How do I configure it ...
After that I started matlab as admin and run the >> configuremingw command and selected the minGW folder (not the bin folder!). Now...
Read more >Building tools (CMake, MinGW, Visual Studio)
To check that the Path environment variable has been correctly modified, open Powershell and issue the following command, which issues the content of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This made me wonder about the following: Clang doesn’t have a variable
cmake.mingwSearchDirs
but has the hardcoded default paths. The path to MinGW is set inpackage.json
. Perhaps it makes sense to align the implementations - add a hardcoded value to MinGW and a variable to Clang. Or a better option could be just to add a generic variablecmake.compilerSearchPaths
(I don’t think there is one) to replace:and use it everywhere for current and future compilers.
I have the same problem.