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.
I don't know that it will help but my Eclipse build template command started working after I noticed the last line of text above the prompt after running the command "sudo apt update" in the Ubuntu command shell, the first of 4 command lines found in the "Intel FPGA Software Installation and Licensing" guide section 2.3.1. The text referred to items that needed to be "Upgraded" The command "sudo apt upgrade" worked for me. I then re-ran the remaining three command lines and looked for anything else that needed to be upgraded. There were none. After that I was suddenly able to create Eclipse project templates, but I had tried everything else I could find before that point and the process woudl fail with the error message failed to execute dos2unix.
Hope it helps you.