Skip to main content
LLr.1
Associate III
Nov 2, 2021 11:51 AM UTC
Question

No rule to make target in CubeIDE with a CubeMX Example (STM32WL)

After an export then import (whether in "file system" or "archive file") of a working project, I cannot "build" this project agin after this export/import. While the basic project (before the export and the import i.e. the displacement) works perfectly on the same computer. It looks like there is a link problem.

12:39:41 **** Incremental Build of configuration Debug for project LoRaWAN_End_Node ****

make -j16 all 

make: *** No rule to make target 'C:/Utilities/trace/adv_trace/stm32_adv_trace.c', needed by 'Utilities/stm32_adv_trace.o'. Stop.

"make -j16 all" terminated with exit code 2. Build might be incomplete.

12:39:42 Build Failed. 1 errors, 0 warnings. (took 363ms)

This topic has been closed for replies.

4 replies

Sara BEN HADJ YAHYA
ST Technical Moderator
Nov 12, 2021 3:08 PM UTC

Hi @LLr.1​ ,

In order to solve this issue, you just need to clean the project and then rebuild it. Please refer to the attachment.

0693W00000GXPQnQAP.pngRegards,

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
LLr.1
LLr.1Author
Associate III
Nov 30, 2021 1:43 PM UTC

Unfortunately, this also appears right after the clean.

Maybe the reason, it is git in my files ?

Louis

LLr.1
LLr.1Author
Associate III
Nov 30, 2021 1:46 PM UTC

The bad solution I found, it's to add the cited file in the cited path of folders

Dana Myers
Senior
Dec 16, 2021 8:36 PM UTC

Perhaps this stand-alone project is interesting, though I based it on the 'WLE5 for the Seeed and RAK modules https://github.com/danak6jq/Seeed-LoRa-E5

Dana