Knowledge Base Article
Why does CMake Error: The source directory "<project_directory>/intel_niosv_m_0_EXAMPLE_DESIGN" does not contain CMakeLists.txt. when compiling the Nios® V processor application in Command Line Interface?
Description
This problem is observed in Intel® Quartus® Prime Pro Edition Software version 21.3 when the command “cmake -G “Unix Makefile” -B software/app/build” is executed in the CLI is due to missing the “CMakeLists.txt” file in the source location.
Resolution
To fix this problem, follow one of the following steps:
- Execute this command: “cmake -G "Unix Makefiles" -S software/app/ -B software/app/build”. The part of the command highlighted is to add the CMakeLists.txt path to the source location.
- Change the directory to software/app folder: “cd software/app”. Then, execute the command: “cmake -G "Unix Makefiles" -B build”
This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 21.4.
Updated 3 months ago
Version 3.0No CommentsBe the first to comment