CLion OSX Error Analyzing File : File 'xxxxxxx.c' excluded: compiler kind not found

Version info

/Users/devans/Library/Application Support/JetBrains/CLion2024.2/plugins/sonarlint-intellij/sloop/lib/sonarlint-analysis-engine-10.7.1.79146.jar
 [2024-10-24T11:56:33.018775] [ApplicationImpl pooled thread 2] INFO org.sonarsource.sonarlint.core.rpc.client.SloopLauncher - Using JRE from /Applications/CLion.app/Contents/jbr/Contents/Home

Sonarqube status:
{"id":"********************","version":"9.9.7.96285","status":"UP"}
 [2024-10-24T11:56:41.002] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'c' are up-to-date
 [2024-10-24T11:56:41.002] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Active rules for 'cpp' are up-to-date

ERROR:

[BINDING_UPDATE] 7 file(s) submitted
File '**********.c' excluded: compiler kind not found
File '***********.c excluded: compiler kind not found
etc ...

Hi,

Welcome to the community!

The current version of SonarLint for IntelliJ is 10.11.1.79663.

Can you upgrade and see if this is still replicable?

 
Thx,
Ann

Hi Ann,

The version is already 0.11.1.79663 .

Hi,

Perfect!

Then could you provide your logs, please?

 
Thx,
Ann

Searched /Users/devans/Library/Logs/JetBrains/CLion2024.2 for the error in all log files, nothing. Where does SonarLint write the logs displayed in Log tab?

Never mind, missed the link in your post. Collecting…

Seeking permission / policy about uploading diagnostic logs.

However, I searched them all and did not find SonarLint Log output.

I cut/pasted (and redacted URLs) into a file, which I attach as Log.log

Log.log (12.1 KB)

Hi,

I’ve flagged this for the team.

 
Ann

Hello @DomEvans,

We have a couple of points that need some clarification:

  1. What kind of CLion project are you using? (CMake, Makefile, etc…)
  2. We appreciate it if you could share the following info with us:
    2.1. Compiler Info: you can find it in CLion menu under Help → Diagnostic Tools → Show Compiler Info

    2.2. C/C++ Diagnostics Information: you can find it in CLion menu under Help → Diagnostic Tools → Collect C/C++ Diagnostics Information, it should generate a zip file that you can share with us

Let me know if you prefer to share this info privately and I can start a private thread.

Thanks,

1 Like

Hi Mostafa

Yes I would prefer to share files with you in a private channel.

Many thanks
Dom