Forum Discussion

blckp8nt's avatar
blckp8nt
Icon for New Contributor rankNew Contributor
3 years ago
Solved

create-this-bsp - mkdir: cannot create directory: No such file or directory

Hey, I'm trying to get the Nios® II Hardware Development Design Example running for hours now, but I'm still running into errors while trying to create a project in Nios II EDS an Windows 10. I fix...
  • kornev_online's avatar
    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