Skip to main content
MikeAtETI
Associate III
March 11, 2024
Solved

STM32CubeIDE 1.14.0 headless build

  • March 11, 2024
  • 1 reply
  • 1979 views

Hi,

I'm migrating a headless build script we've used before to 1.14.0 - and it seems to fail with all the targets

 

2024-03-11T16:43:16.0230489Z /opt/st/stm32cubeide_1.14.0/stm32cubeide -data "/home/vsts/work/1/s/2023firmware/ws/" --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild "ThermaWiFi II/Release" -import "/home/vsts/work/1/s/2023firmware/ws/ThermaWiFi II"
2024-03-11T16:43:16.0231124Z ========================== Starting Command Output ===========================
2024-03-11T16:43:16.0258004Z [command]/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/a30f37f7-18a8-48e9-bee1-ca09bd22ec30.sh
2024-03-11T16:43:20.9985098Z Create.
2024-03-11T16:43:21.0173602Z Opening 'ThermaWiFi II'.
2024-03-11T16:43:24.3834526Z 16:43:24 **** Clean-only build of configuration Release for project ThermaWiFi II ****
2024-03-11T16:43:24.4000946Z make -j2 clean 
2024-03-11T16:43:24.4601921Z make: *** No rule to make target 'clean'. Stop.
2024-03-11T16:43:24.4738958Z "make -j2 clean" terminated with exit code 2. Build might be incomplete.
2024-03-11T16:43:24.4739581Z 
2024-03-11T16:43:24.4740398Z 16:43:24 Build Failed. 1 errors, 0 warnings. (took 87ms)
2024-03-11T16:43:24.4741708Z 
2024-03-11T16:43:24.7200784Z 16:43:24 **** Clean-only build of configuration Release for project ThermaWiFi II ****
2024-03-11T16:43:24.7504946Z make -j2 clean 
2024-03-11T16:43:24.8122266Z make: *** No rule to make target 'clean'. Stop.
2024-03-11T16:43:24.8177250Z "make -j2 clean" terminated with exit code 2. Build might be incomplete.
2024-03-11T16:43:24.8177710Z 
2024-03-11T16:43:24.8178210Z 16:43:24 Build Failed. 1 errors, 0 warnings. (took 97ms)
2024-03-11T16:43:24.8178298Z 
2024-03-11T16:43:27.8926585Z 16:43:27 **** Build of configuration Release for project ThermaWiFi II ****

 

and then fails further down with a missing header.

I've verified all the includes are workspace-relative and the header needed is in the include directories (and in the git repo this clones from)

Any hints?

Mike

    This topic has been closed for replies.
    Best answer by AScha.3

    ... and STM32CubeIDE doesnt like spaces or other "special" characters. :)

    rename and try again.

    1 reply

    Pavel A.
    March 11, 2024

    Project name contains spaces.

     

    AScha.3
    AScha.3Best answer
    Super User
    March 11, 2024

    ... and STM32CubeIDE doesnt like spaces or other "special" characters. :)

    rename and try again.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    MikeAtETI
    MikeAtETIAuthor
    Associate III
    March 12, 2024

    I can confirm removing the spaces, plus a couple of include case issues (build was on linux, cube was on pc)