Skip to main content
Explorer
October 19, 2025
Solved

Bad CMake Executable and Missing Board from project setup.

  • October 19, 2025
  • 3 replies
  • 594 views

Trying to get the STM32CubeIDE for VSCode working on MacOS. I am on the latest version I think it is 3.6.4.
I installed the extension according to instructions and I made a project for my NUCLEO-446RE with CubeMx.

When I open the folder in VSCode it throws a Bad CMake Executable Error when I open the Setup STM32Cube project(s) section. In the search box in this section it also seems the NUCLEO-446RE is missing as well.

I am not sure what is going on I tried uninstalling everything and reinstalling. I do have it in its own profile the only extensions in there are copilot and the STM32 Bundle in its entirety.

Another note: I do not have a local cmake installed so there should be no conflict there.

Any help would be appreciated.

    This topic has been closed for replies.
    Best answer by Julien D

    Hello,

    As stated on another post (https://community.st.com/t5/stm32cubeide-for-visual-studio/quot-an-error-occurred-while-synchronizing-metadata-quot-on-vs/m-p/848848#M1268) the issue had been analyzed, and a fix is about to be deployed.

    3 replies

    wljrAuthor
    Explorer
    October 19, 2025

    There are also errors being thrown while trying to sync the packs. When I ran core pack sync in the integrated terminal the more descriptive error is Error during metadata sync: Error: Unexpected close tag. 

    This maybe why the Nucleo board does not show up.

    ST Employee
    October 19, 2025

    @wljr, I can confirm that if there is a pack sync issue, none of the STM32 portfolio devices can be promoted to you.

    Are you experiencing this kind of issue? Please see this link for reference:
    https://community.st.com/t5/stm32cubeide-for-visual-studio/cube-pack-sync-error-via-vscode-proxy/td-p/847146

    Please try executing the following command in the VSCode integrated terminal:

    cube pack sync

    Let's share back please the result (log trace & notification details)

    wljrAuthor
    Explorer
    October 19, 2025

    @vincent_grenet 

    CMake issue is resolved by installing a copy locally like you suggested. Now the only issue is the pack list.

    As far as I am aware I am not running any proxy's but this is the result of my cube pack sync and the error in the notification area when it tries to synch the pack list.

    Screenshot 2025-10-19 at 6.46.54 PM.png

    ST Employee
    October 19, 2025

    @wljr, regarding the CMake issue, if you do not have CMake installed locally, it is fully supported and expected to face an error. Let me explain what happens behind the scenes.

    The STM32CubeIDE for Visual Studio Code extension pack relies on the widely used Microsoft CMake Tools extension. This extension attempts to perform a CMake configure step on any CMakeLists.txt file added to the VSCode workspace. If CMake is not available on your host, it will fail. This is outside of STMicroelectronics’ control since the extension is not ours.

    Our responsibility is to notify you when a CMake project is detected, asking if you want to apply STM32Cube’s extra features. If you confirm, STM32Cube will set up the proper tools, including CMake. After setup completes, STM32Cube will trigger a CMake configure process, which should succeed.

    vincent_grenet_0-1760909745580.png

    Just in case the notification is missing, let's manually invoke the process by using the following setup action:

    vincent_grenet_1-1760909804366.png

     



     

    Julien DAnswer
    ST Employee
    October 20, 2025

    Hello,

    As stated on another post (https://community.st.com/t5/stm32cubeide-for-visual-studio/quot-an-error-occurred-while-synchronizing-metadata-quot-on-vs/m-p/848848#M1268) the issue had been analyzed, and a fix is about to be deployed.