Knowledge Base Article

--src-dir SBT Argument Does Not Work With C2H

Description

When using the C2H Compiler with Nios II SBT, an error occurs when using the nios2-app-generate-makefile argument --src-dir to specify a directory of source files. An example of the error is:

multiple definition of 'my_accelerated_function'
Resolution

Specify source files individually using the --src-files argument.

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment