CodeLite not finding Clang on MinGW even though it's installed
Posted: Tue Jun 23, 2020 5:19 am
Hi,
I have MinGW running on Win10. I downloaded and installed CodeLite 14.0.0 from codelite.org. It's installed as a normal windows installation. I can compile/run/debug using gcc and gdb.
However, even though I have clang installed in MinGW, CodeLite is not finding it. I installed clang 10.0.0-2 using pacman under MinGW. When I run, it returns this:
As far as pacman and Mingw are concerned, I have the 64 bit version of the clang compiler, analyzer, and extra tools installed under mingw64. Here you can see where it is in the MinGW folders when looking in Explorer:
However, when I scan for compilers it only finds gcc. Here's what shows up after hitting the button to scan for compilers:
I am also unable to get code completion working, and DoxyGen comments aren't showing up either. As far as I understand, those features are intertwined with Clang and the Language Servers. I'm hoping that once I can get CodeLite to recognize the clang installation, I can see if any of the other issues get resolved.
I appreciate any help on this.
Using: CodeLite v14.0.0 downloaded from codelite.org
OS: Windows 10
I have MinGW running on Win10. I downloaded and installed CodeLite 14.0.0 from codelite.org. It's installed as a normal windows installation. I can compile/run/debug using gcc and gdb.
However, even though I have clang installed in MinGW, CodeLite is not finding it. I installed clang 10.0.0-2 using pacman under MinGW. When I run
Code: Select all
pacman -Ss 64-clang
Code: Select all
mingw64/mingw-w64-x86_64-clang 10.0.0-2 [installed]
C language family frontend for LLVM (mingw-w64)
mingw64/mingw-w64-x86_64-clang-analyzer 10.0.0-2 [installed]
A source code analysis framework (mingw-w64)
mingw64/mingw-w64-x86_64-clang-tools-extra 10.0.0-2 [installed]
Extra tools built using Clang's tooling APIs (mingw-w64)
As far as pacman and Mingw are concerned, I have the 64 bit version of the clang compiler, analyzer, and extra tools installed under mingw64. Here you can see where it is in the MinGW folders when looking in Explorer:
However, when I scan for compilers it only finds gcc. Here's what shows up after hitting the button to scan for compilers:
I am also unable to get code completion working, and DoxyGen comments aren't showing up either. As far as I understand, those features are intertwined with Clang and the Language Servers. I'm hoping that once I can get CodeLite to recognize the clang installation, I can see if any of the other issues get resolved.
I appreciate any help on this.
Using: CodeLite v14.0.0 downloaded from codelite.org
OS: Windows 10