Make Error in SDK for Windows

Asked 2 years ago, Updated 2 years ago, 100 views

Install MSYS2 and follow these steps:

$tools/config.py --kernel release

When you run the , you see the

make[1]:*** [Makefile.unix:300:include/arch] Error 1
make:*** [Makefile:308:olddefconfigkernel] Error 2
Post process failed.512
Try 'make disticleankernel' first.

and error.

$make disticleankernel

is still running

Get out of /home/****/spresense/nuttx/configs
include/arch/board already exits but is not a symbolic Link
make[1]:*** [Makefile.unix:357:clean_context] Error 1
make[1]—Out of directory '/home/****/spresense/nuttx'
make:*** [Makefile:262:discreteankernel] Error 2

How do I deal with these errors?

spresense msys2

2022-09-30 19:47

1 Answers

I am in charge of SPRESENSE support for Sony.

I checked the log you provided regarding the Windows development environment you inquired about.
This may be due to the lack of MSYS.

When you install MSYS, in addition to MSYS2MSYS, MSYS2MinGW64-bit, MSYS2MinGW32-bit is installed, and the latter causes this problem.

If this happens, you can resolve the problem by following the steps below.

$ source to /spresenseenv/setup
$ cd "Spresense SDK Top Directory"
$ rm-rf nuttx/include/arch
$ rm-rf nuttx/arch/arm/src/board

I hope this procedure solves the problem.

Thank you for your continued support at SPRESENSE.

SPRESENSE Support Team


2022-09-30 19:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.