Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12469 Discussions

failed to execute: wsl dos2unix create-this-app

tienanh129902
Beginner
1,035 Views

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!Screenshot 2021-12-17 123017.png

0 Kudos
4 Replies
Latriny
Beginner
983 Views

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
Beginner
670 Views

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

 

yokseprimo
Beginner
314 Views

You saved me, 

thanks a lot

EBERLAZARE_I_Intel
973 Views

Hi,


Do you have any update from your side?


Reply