Article ID: 000089678 Content Type: Error Messages Last Reviewed: 08/16/2023

Why do I see riscv-none-embed-gcc.exe: error: CMakeFiles/app.elf.dir/main.c.obj : No such file or directory after running make when building the application project for Nios® V Processor System?

Environment

    Intel® Quartus® Prime Pro Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

This is observed in the Intel® Quartus® Prime Pro Edition Software version 21.3 and onwards when building an application project for Nios® V Processor System due to incompatibility with specific Command Prompt version in Windows. 

Resolution

This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 21.3 with the steps below: 

  • Use the Ninja generator, instead of the Unix Makefile generator. For example, 

    1. Use cmake -G “Ninja” to replace the cmake -G “Unix Makefiles” command.

    2. Use ninja -C software/app/build to replace the make -C software/app/build command.

Use the PowerShell throughout the build process to replace the Command Prompt

 

This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 22.1.

 

Related Products

This article applies to 4 products

Intel Agilex® 7 FPGAs and SoC FPGAs
Intel® Arria® 10 FPGAs and SoC FPGAs
Intel® Cyclone® 10 GX FPGA
Intel® Stratix® 10 FPGAs and SoC FPGAs

1