2025-03-04 5:58 AM - last edited on 2025-03-04 6:02 AM by Andrew Neil
21:56:14 **** Incremental Build of configuration Debug for project H745_Ethernet_PING_CM7 ****
make -j8 all
make: *** No rule to make target 'C:/Users/STM32CubeIDE/workspace_1.10.1/H745_Ethernet_PING/Middlewares/Third_Party/LwIP/src/core/altcp.c', needed by 'Middlewares/Third_Party/LwIP/altcp.o'. Stop.
"make -j8 all" terminated with exit code 2. Build might be incomplete.
21:56:15 Build Failed. 1 errors, 0 warnings. (took 706ms)
Hello... i entered this error on H750-DISCO running on Ethernet MII , anyone can pls help, TQ!
2025-03-04 6:04 AM
So how did you get to this point?
Are you working from an example, or what?
How to write your question to maximize your chances to find a solution
2025-03-04 6:08 AM
This means altcp.c is missing in this path: Middlewares/Third_Party/LwIP/src/core or may be you don't need it, so try to remove it from your project tree.
2025-03-04 6:19 AM
Yes its from an example...
2025-03-04 6:24 AM
2025-03-04 6:37 AM
@HMSEdinburge wrote:
Yes its from an example...
Which example? how you did get it? and did you modify it?
2025-03-04 3:59 PM
2025-03-04 11:19 PM
Hello,
This is a c file. You need to:
1- Ensure that this file is actually used in your project.
2- Ensure it's present physically in your drive (especially in the project folder).
3- Ensure it's added in your project i.e. in the project explorer in STM32CubeIDE (as shown in the figure you shared).
That's it.
2025-03-04 11:56 PM
Hello.. i have checked yes the file is there, but the path is wrong, its in /Third_Party/LwIP/altcp.c instead of /Third_Party/LwIP/src/core/altcp.c! i think its something to set at file, property , C/C++ build/ Settings. Can anyone please help? TQ!
2025-03-04 11:59 PM
Remove it from your project tree and add it again using drag and drop.