Forum Discussion
How to Properly Include a Custom Library in Quartus Prime Nios II Project?
- 1 year ago
Hi
After adding the .c and .h into the project the make file should be update.
Could you check if the .h and .c is added into the make file of you project?
If not you would need to add them in manually.
You could check the line below in the make file:
# List of include directories for -I compiler option (-I added when used).
# Includes the BSP.
ALT_INCLUDE_DIRS := <File path here>
# List of library directories for -L linker option (-L added when used).
# Includes the BSP.
ALT_LIBRARY_DIRS := <File path here>
Regards
Jingyang, Teh
Hi
After adding the .c and .h into the project the make file should be update.
Could you check if the .h and .c is added into the make file of you project?
If not you would need to add them in manually.
You could check the line below in the make file:
# List of include directories for -I compiler option (-I added when used).
# Includes the BSP.
ALT_INCLUDE_DIRS := <File path here>
# List of library directories for -L linker option (-L added when used).
# Includes the BSP.
ALT_LIBRARY_DIRS := <File path here>
Regards
Jingyang, Teh