Try 'make distclean' first. Here is the error code:
$tools/config.py examples/camera
Makefile:38:/tools/Sdk.mk:No such file or directory
make[4]: ***No rule to make target '/tools/Sdk.mk'.Stop.
make [3]:*** [/home/K.Nishikawa/spresense/sdk/apps/Directory.mk:50:camera/_preconfig] Error 2
make[2]:*** [Makefile:167:Kconfig] Error 2
make[1]:***[tools/Makefile.unix:601:apps_preconfig] Error 2
make:*** [Makefile:220:olddefconfig] Error 2
Post process failed.512
Try 'make distclean' first.
The setup of the environment does not appear to be working properly.
Setup for https://developer.sony.com/develop/spresense/docs/sdk_set_up_ja.html#_windows
curl-L https://raw.githubusercontent.com/sonydevworld/spresense/master/install-tools.sh>install-tools.sh
bash install-tools.sh
source~/spresenseenv/setup
Sony's manual is almost the same, but please try it.
Incidentally, for 3,4, if spresense.git
is already git clone
, I think the spresense/install-tools.sh
file exists, so you can use it.
cd spresense
bash install-tools.sh
© 2024 OneMinuteCode. All rights reserved.