cancel
Showing results for 
Search instead for 
Did you mean: 

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

Legacy member
Not applicable

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.

25 REPLIES 25
MM1
Associate II

Hey there,

I am running into the same issue. has it been resolved yet?

Greetings Marcus

3subzero3
Associate II

I can also confirm that I am having the same problem.

Sarra.S
ST Employee

Hello @3subzero3@MM1@Javier1@userst 

Are you all using a MacOS? 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

nico23
Senior II

same issue here on Windows 10

I am on a Mac (Sequoia 15.3)

nico23
Senior II

I've tried with a brand new project on the NUCLEO-F401RE board and it has the same issue

Do we have an ETA as this is a pretty bad bug basically making the use of VScode impossible @Sarra.S @Imen.D 

Windows 11 Enterprise.

nico23
Senior II

Hei @Sarra.S @Imen.D do we have an update on this?

Nordtus
Associate

Here is the solution for anyone still having this problem to "No compiler found in cache file Source Make Tools (Extension)". I don't know why ST would choose this response to outdated firmware on the ST-LINK. Your ST-LINK firmware needs to be updated. You can get it here, https://www.st.com/en/development-tools/stsw-link007.html?dl=redirect

 

I had this exact same issue with my NUCLEO-H563ZI, upgraded the firmware and it's working as expected. If you have a cloned ST-LINK it might not work, haven't tested it though.

nico23
Senior II

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

It's been almost 2 years...