I have tried with the hello world application to do basic test with Quartus and NIOS II EDS 20.1.
But it throughs the following errors.
make: *** [hello_world.elf] Error 1 hello_world C/C++ Problem
recipe for target 'hello_world.elf' failed Makefile /hello_world line 1010 C/C++ Problem
Followed all the steps as per the tutorial/manual in Intel® FPGA Technical Training (EMBEDDED FPGA DESIGN WITH THE NIOS II PROCESSOR -lab tutorial)
You can download the patch from below KDB and try: