cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP: can't find fs.c; needed by fs.o

Yuvi89
Associate II

Hi,

I am new to ST platform, i am facing an issue as below.

C:/Users/Yuvaraj/Desktop/Test/1/Middlewares/Third_Party/LwIP/src/apps/http/fs.c', needed by 'Middlewares/LwIP/apps/http/fs.o'. Stop

I am opened the project from examples codes.

Can anyone help ? How to resolve this?

 

Regards,

Yuvaraj V

6 REPLIES 6
mƎALLEm
ST Employee

Hello @Yuvi89 and welcome to the ST community,;

From which link you've downloaded the source code? from this link? or from Github in this link?

If you've downloaded it from the from Github did you clone with the recursive option --recursive?

Please refer to this knowledge base article: Downloading STM32Cube packages from GitHub correctly

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.
Yuvi89
Associate II

Hello Meallem,

Thanks for the info.

   I am downloaded from Github able to build successfully.

If i am copy the project from the IDE and opened on another computer but this time getting same error.

The another computer also installed the Github files.

 

 

 

> If i am copy the project from the IDE and opened on another computer but this time getting same error.
> The another computer also installed the Github files.

I'm not quite sure what you mean here exactly.

But when copying it to another PC, you most probably need to adapt the project location / paths.

> C:/Users/Yuvaraj/Desktop/Test/1/Middlewares/Third_Party/LwIP/src/apps/http/fs.c', needed by 'Middlewares/LwIP/apps/http/fs.o'. Stop

Check if this path / pathes are correct.

Alternatively clone it via git on you second PC, instead of copying it. 

I don't know how you did that copy.

You need to be sure you have the complete project folder structures including Middlewares/Third_Party/LwIP/ 

Go to your project folder and check if you have that Middlewares/Third_Party/LwIP folder.

If not that means there is something wrong with your project.

As I said previously you need to clone with the --recursive option from Github, otherwise it won't work.

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.
Yuvi89
Associate II

Let me try.

STackPointer64
ST Employee

Hello @Yuvi89

Have you managed to resolve the issue you are encountering?

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.