Nios® II SBT Build and Debug As will not work if you update your Windows® 10 version to 1903 or higher.
Affected Quartus® Prime versions:
- Standard Edition: 19.1, 20.1
- Pro Edition: 19.2, 19.3, 19.4, 20.1, 20.2, 20.3
Please install the following Knowledge Database patch:
nios2-elf-gcc.exe: error: CreateProcess: No such file or directory | Altera Community
After installing the patch, generate a new Nios® II SBT project to work around this issue, but please also Generate HDL in Platform Designer and Compile in Quartus® Prime.
<Example error messages>
[Build Error]
nios2-elf-g++.exe: error: missing argument to '-msys-crt0='
nios2-elf-g++.exe: error: missing argument to '-msys-lib ='
Makefile:1015: recipe for target 'soft.elf' failed
make: *** [soft.elf] Error 1
[Debug Error]
wslpath: /mnt/c/Project/software/soft/soft.elf.srec: No such file or directory
wslpath: /mnt/c/Project/software/soft/soft.elf. srec: No such file or directory
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Processor is already paused
Leaving target processor paused
rm: cannot remove '/mnt/c/Project/software/soft/soft.elf.srec': No such file or directory
*Note:
Installing the patch on Quartus® Prime on a PC with less than Windows® 10 1903 will prevent Nios® II SBT from working properly.
Uninstalling the patch will cause Nios II Command Shell to not start, leaving you no choice but to reinstall Quartus.
--------------------
Category: Nios® II
Tools: Nios® II EDS
Devices: -