Knowledge Base Article

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?

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.

 

Updated 1 month ago
Version 2.0
No CommentsBe the first to comment