cancel
Showing results for 
Search instead for 
Did you mean: 

.d:1: *** multiple target patterns. Stop.

aljo666
Visitor

From cube 1.3.0 I always get this error and the cause seems to be the path generation in .d files. In cube 1.12.1 the path is relative but from cube 1.3.0 it is absolute and generates something like \\?\C:\.... So the only solution for me is to stay with cube 1.12.0. The build however seems ok an the bin file is generated. Did anyone had a similar issue? The issue is present only on windows and it seems ok on linux.


arm-none-eabi-size STM32F769I_TEST.elf
arm-none-eabi-objdump -h -S STM32F769I_TEST.elf > "STM32F769I_TEST.list"
arm-none-eabi-objcopy -O ihex STM32F769I_TEST.elf "STM32F769I_TEST.hex"
arm-none-eabi-objcopy -O binary STM32F769I_TEST.elf "STM32F769I_TEST.bin"
text data bss dec hex filename
1227608 43680 452264 1723552 1a4ca0 STM32F769I_TEST.elf
Finished building: default.size.stdout

Finished building: STM32F769I_TEST.hex
Finished building: STM32F769I_TEST.bin


Finished building: STM32F769I_TEST.list

test/web/unicabminnow.d:1: *** multiple target patterns. Stop.
make: *** [makefile:152: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.

12:23:07 Build Failed. 3 errors, 408 warnings. (took 1m:27s.726ms)

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

Hello @aljo666 

Let me thank you for posting.

I recommend that you use the last version STM32CubeIDE 2.0.

STM32CubeIDE | Software - STMicroelectronics

Thanks.

Mahmoud

 

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.

aljo666
Visitor

Already tired and the issue is still present.

Could you provide please your STM32CubeIDE Project.

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.