Forum Discussion
create-this-bsp - mkdir: cannot create directory: No such file or directory
- 3 years ago
Hi to all.
"wslpath" command behaviour has been changed.So workaround is to patch a "intelFPGA\22.1std\nios2eds\sdk2\bin\nios2-bsp" script:
adjust_path() {
if [ "${_IS_WSL}" = "1" ] && [[ ! $1 =~ ^\/mnt\/* ]]; then
- echo "$(wslpath -u "$1")" #Line 44
+ echo "$(wslpath -u -a "$1")"
else
echo "$1"
fi
Sorry, this did not solve my problem.
NiosII EDS still reports ''failed to execute :wsl dos2unix create-this-bsp''....
Hey Nikolay,
for me the workaround as described by kornev_online worked. I added the "-a" option to 'wslpath' command as he described. This seems to "force the result of wslpath to absolute path format".
To your question: What's with the wierd "‘’" directory name?!?!?
I found this table:
Looks like an empty path described by those two characters '' gets passed to mkdir. Maybe wslpath gets confused by relative paths, I dont know.
Thank you all for your help and kornev_online for your solution! I would have never solved this problem.
Best regards