Hello World in the Spresense SDK Start Guide fails to make errors.

Asked 2 years ago, Updated 2 years ago, 62 views

I was trying to do Hello world according to the order in the Spresense SDK start guide.
The following CLI and VSCode for Hello World environment is Windows 11.
Version is 2.5.0.

https://developer.sony.com/develop/spresense/docs/sdk_set_up_ja.html
https://developer.sony.com/develop/spresense/docs/sdk_set_up_ide_ja.html

It worked until 3.1 in the CLI, and with 3.2 make

make[2]: Entering directory '/home/name/spresense/nuttx/sched'
make[2]: ***No rule to make target'C:/msys64/home/name (this is garbled because the name is kanji) /spresense/nuttx/include/nuttx/config.h', needed by 'clock_initialize.o'.Stop.
make[2]:Leaving directory '/home/name/spresense/nuttx/sched'
make[1]:***[tools/LibTargets.mk:59:sched/libsched.a] Error 2
make[1]:Leaving directory '/home/name/spresense/nuttx'
make:*** [Makefile:114:all] Error 2

The error appears (by the way, make-j has a different target, but still no rule to make target).
What should I do?

The above is the main question, but for your reference, I will also write the results of the VSCode test.
In that case, the part of the configuration before reaching the build says, "An error occurred while parsing the configuration file."I tried making distclean in the SDK folder with reference to stack overflow, but the results did not change.
When I tried building it as it was, I got the same error as the CLI.

spresense

2022-09-29 21:54

1 Answers

It seems that folder names containing spaces and Japanese are prohibited.
https://developer.sony.com/develop/spresense/docs/sdk_set_up_ja.html#_ Restrictions
https://developer.sony.com/develop/spresense/docs/sdk_set_up_ide_ja.html#_ Restrictions

You should try creating a different account or folder.


2022-09-29 21:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.