Forum Discussion
Failed to execute: wsl dos2unix create-this-app; ./create-this-app --no-make
On Win10, Build 19044
I have Ubuntu 18.04LTS (set to WSL 1, not WSL2), and I definitely have make.
I have several WSL kernels installed, but I used "wsl --set-default" to put the default as Ubuntu 18.04.
>uname -r
4.4.0-19041-Microsoft
Also, if I manually open the NIosII Command Shell, then go to the generated files, it looks like they're successfully building (i.e. if I go into my Workspace, then run ./create-this-app or ./create-this-app --no-make, it appears that everything is working.
This error prevents the projects from being included in the Eclipse GUI, however - the BSP gets added, but NOT say the "Hello World Small" application (although it is on the drive! So it gets built, but the error causes it not to be "imported" into Eclipse.)
Any help appreciated! Thanks everyone.
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.
4 Replies
- trayres
New Contributor
if I use the Nios2 shell to launch Eclipse, I get this:
wsl make all
/bin/bash: make: command not foundBut I definitely have make, and it can be found by just a regular console
>wsl make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnuIt can also be found by the nios2eds console:
make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnuIt just seems like Eclipse can't find it (even if it is launched from the nios2 console?)
- ShengN_altera
Super 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.
- trayres
New Contributor
It worked the first time I tried after adding that environment variable.
Thank you!
- ShengN_altera
Super Contributor
Glad to hear that your issue has been resolved. I'll now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts.
You will receive a survey. If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.