apache / mynewt-nimble

Apache mynewt
https://mynewt.apache.org/
Apache License 2.0
680 stars 392 forks source link

npl_sycfg.h: The file cannot be accessed by the system. #1806

Open focusfeel opened 1 month ago

focusfeel commented 1 month ago

When I try to run "newt upgrade" in cygwin, it will be terminated by an error. The error information is like this:

Downloading repository mynewt-nimble (commit: master) from https://github.com/apache/mynewt-nimble.git Error: open E:\Cygwin64\tmp\newt-repo605611437\porting\npl\riot\include\npl_syscfg\npl_sycfg.h: The file cannot be accessed by the system.

How can I to fix the error?

sjanc commented 3 weeks ago

Hi,

That file is symlink so this looks like issue with cygwin environment... I'd suggest to try run it with administrator privilege or under other environment (eg mingw)