Dear ,
I use toolchain Manager to install the whole project.
Would you teach me how to solve this ?

Dear ,
I use toolchain Manager to install the whole project.
Would you teach me how to solve this ?

Dear Øyvind,
of course, I didn't modified.
Attached generate support file for your reference.


Dear
I re-install the windows10 and tried again using cmd.exe.
it show error below:
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\zephyr\samples\basic\threads\build' '-SC:\ncs\v1.6.1\zephyr\samples\basic\threads' -GNinja
I also tried to use installing manually,but I found that I can't install GN meta-build system.
Becaues I can't open https://gn.googlesource.com/gn/#getting-a-binary in China.
This maybe the problem.
Hello,
I'm very confused at the moment.
The initial issue is building peripheral_lbs sample for the nRF5340DK. Correct?
In the beginning you were using v1.9.0 of the nRF Connect SDK, but last messages you have reverted to v1.6.1. Please elaborate.
liujirong888 said:I also tried to use installing manually,but I found that I can't install GN meta-build system.
Becaues I can't open https://gn.googlesource.com/gn/#getting-a-binary in China.
This is not needed in the peripheral_lbs sample.
liujirong888 said:FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\zephyr\samples\basic\threads\build' '-SC:\ncs\v1.6.1\zephyr\samples\basic\threads' -GNinja
What samples did you try to build here? Please provide full build log.
Thanks.
Kind regards,
Øyvind
Dear ,
I found that v1.9.0 and v1.6.0 have same error.
both SDK I need to use.Attached build log for your reference.

Dear Øyvind,
I mean that when I use SES or VS code error will show that create_nordic_project.py failed.
when I change to use cmd.exe to compile,it will show like this below, I use the sample "peripheral_lbs"
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python310\python.exe' '-BC:\ncs\v1.6.1\zephyr\samples\basic\threads\build' '-SC:\ncs\v1.6.1\zephyr\samples\basic\threads' -GNinja