Forum Discussion

tienanh129902's avatar
tienanh129902
Icon for New Contributor rankNew Contributor
4 years ago

failed to execute: wsl dos2unix create-this-app

Dear Expert and Support,

I'am a newbie in FPGA programming. I've tried to make an example with nios2. As you can see in the picture follows, I can do with create-this-bsp, but with create-this-app, I can not. So how can I fix this error?

Thank you for your help!

4 Replies

  • Latriny's avatar
    Latriny
    Icon for New Contributor rankNew Contributor

    The following solution helped me:

    Created a new environment variable in Windows:

    Name: WSLENV

    Value: SOPC_KIT_NIOS2/p

    After restarting Eclipse and Quartus it worked.

    If it does not help, try to independently execute this command in the created directory (DirectoryName, not DirectoryName_bsp) and send a screen here.

    • sstandfast's avatar
      sstandfast
      Icon for New Contributor rankNew Contributor

      I was having the same issue. First I couldn't create the bsp. After some googling, I found I also needed to enable the VirtualMachinePlatform and Microsoft-Windows-Subsystem-Linux features as well as install Ubuntu 18.04 LTS onto my machine. Once I finally won that fight, I ran into the issue described above where I couldn't create the app. Following Latriny's advice I added that environment variable to the system and it FINALLY worked correctly for me.

      Thanks!

      Shawn