Forum Discussion
Hi @DavidCambridge,
Thank you for posting in Intel community forum and hope you are doing well.
Apologies for the inconvenient cause, yes the cause that we identified so far for now is due to the windows updates.
We are actively working with the development team to mitigate this with a permanent solution on the next software patched.
As for now for Quartus 20.1, for the time being there is a workaround in place by using the NIOS II command shell to build the system. There would be some error upon building the project, please refer to the steps below to attend to it:
#1
- Open a NIOS2 command shell
- try and make an NIOS2 application
- You get the following error: nios2-elf-gcc.exe: error: CreateProcess: No such file or directory
- To resolve this you need run the following command prior to calling make, "export WSLENV=PATH/l:${WSLENV}"
#2
- With the above fix you can compile all the files but the link fails: nios2-elf-g++.exe: error: missing argument to '-msys-lib='
- To resolve this you need to modify the application Makefile and change the following line:
APP_LDFLAGS += -msys-lib=$(call adjust-path-mixed,$(SYS_LIB)) to APP_LDFLAGS += -msys-lib=$(SYS_LIB)
- In adjust-path-mixed should not be used in this case as SYS_LIB is a name of a library not a PATH to the library
#3
- The final problem is that from eclipse debugging fails with the following error:
wslpath: /mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec: No such file or directory
wslpath: /mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec: No such file or directory
Using cable "USB-BlasterII [USB-1]", device 1, instance 0x01
Pausing target processor: OK
Restarting target processor
rm: cannot remove '/mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec': No such file or directory
- To resolve this problem the Application Makefile must be modified again with the following change:
BUILD_PRE_PROCESS := to BUILD_PRE_PROCESS := touch $(ELF).srec
Please do let us know if you have any trouble completing the workaround above.
Warm regards.