Skip to main content
August 21, 2023
Question

STM32 VS Code Extension (No compiler found in cache file)

  • August 21, 2023
  • 13 replies
  • 9836 views

I am trying to get the STM32 VS Code Extension working on my macOS (Ventura 13.2.1). I have installed STM32CubeCLT and STM32CubeMX. I can compile my project successfully using the build command command. However when I press on the debug icon on the bottom toolbar, I get an error saying that "No compiler found in cache file Source Make Tools (Extension)" (See attached screenshot). I have examined the build/debug/build/CMakeCache.txt file and everything looks ok at first glance. Any insight or solutions as to what is going on would be welcomed.

13 replies

Senior III
May 16, 2025

Still no fix for "No compiler found in cache file Source Make Tools (Extension)" tho

It's been almost 2 years...

Cartu38 OpenDev
Graduate II
May 16, 2025

Have you got a chance to try brand new released solution (pre-released takes care you have to push right button to install it) ? STM32CubeCLT is not required anymore ! Some brand new integrated solution is promoted instead so called STM32Cube bundles serving the same but revisited experience. May help possibly any tool setup pain.

Senior III
May 16, 2025

Could you elaborate more? I can't understand with "Have you got a chance to try brand new released solution".

Cartu38 OpenDev
Graduate II
May 16, 2025

@nico23 let us know all if helping.

Sounds @AlanCui4080  has got some good first experience with see https://community.st.com/t5/stm32cube-for-visual-studio-code/why-this-extension-do-not-use-environment-variables/td-p/800975