cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Bad Cmake executale:""

luxae
Associate II

Greetings,

I am configuring the STM32 VS Code extension for Visual Studio Code. After configuring the CubeCLT, CubeMX, and STMCUFinder extensions with the corresponding paths in the extension, I create a new project from CubeMX configured as CMake. I import it correctly using the STM32 VS Code extension and compile in debug mode. It returns the following error, which seems to be related to the CMake Tools extension, but I'm not sure what could be wrong.

Error: Bad Cmake executable:"", Check to make sure it is installed or the value of the "cmake.cmakePath" setting contains the correct path.

Source: CMake Tools

Thanks.

1 REPLY 1
Nawres GHARBI
ST Employee

hi @luxae 

seems you have already another CMAKE install in your PC

to fix that you can check if the the CubeCLT path is well set in the settings of vscode