Due to a problem in the Quartus® Prime Pro Edition Software version 24.2 and earlier, you might see this error when compiling the project using the command quartus_sh --flow compile <project_name> in the Nios® V Command Shell. You might also see this error if compiling the project with the Quartus® GUI launched from the Nios® V Command Shell.
To work around the problem, use the default Quartus® Command Shell instead of the Nios® V Command Shell.
This problem is scheduled to be fixed in a future release of the Quartus® Prime Pro Edition Software.