cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.14.0 headless build

MikeAtETI
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions

... 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".

View solution in original post

3 REPLIES 3
Pavel A.
Evangelist III

Project name contains spaces.

 

... 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".

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