sonydevworld / spresense

Spresense SDK source code
https://developer.sony.com/develop/spresense/docs/home_en.html
Other
149 stars 106 forks source link

Issue with the make distclean command #752

Open OmarShamakhi opened 2 months ago

OmarShamakhi commented 2 months ago

Hello

I am using spresense source code in windose 11 using bash

Every time I use make distclean on spresense/sdk I get this error

make[1]: Entering directory '/home/omar/spresense/nuttx' Makefile:38: /tools/Sdk.mk: No such file or directory make[3]: No rule to make target '/tools/Sdk.mk'. Stop. make[2]: [Makefile:56: /home/omar/spresense/sdk/apps/examples/_clean] Error 2 make[1]: [tools/Unix.mk:748: /home/omar/spresense/sdk/apps_clean] Error 2 make[1]: Leaving directory '/home/omar/spresense/nuttx' make: [Makefile:184: distclean] Error 2

I tried to reinstall the file but still didn't work.

Regards, Omar

SPRESENSE commented 2 months ago

Hi, @OmarShamakhi,

Are you using WSL2 as your build environment on Windows 11? SDK code with the tag "v1.5.1" or later should have tools/Sdk.mk, so it's possible that old code is mixed with a newer Make environment.

Could you please share information such as the version of the code you're using? What is the output of the following commands?

Regards,