mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-13 05:45:07 +00:00
[BUG] Cannot compile with ARM-Cortex processors #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chent11 on GitHub (Mar 31, 2022).
Description
When an ARM GCC compiles the code below,
it will complain about the lacking of "arm_math.h" file. Because this is not a standard C math library, you need to add the CMSIS-DSP library to your project and tell the compiler to link it so that it can be compiled.
Expected behavior
No errors would prompt
Actual behavior
fatal error: arm_math.h: No such file or directory
Possible fix
Add CMSIS-DSP library to this repo
Steps to reproduce
Use an ARM GCC to compile this repo
Context
Additional information
No response
@mucahitdemir commented on GitHub (Apr 24, 2022):
If you use ST CubeMx IDE, in the Project section, select include all the necessary library files option
@github-actions[bot] commented on GitHub (May 25, 2022):
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@github-actions[bot] commented on GitHub (Jun 2, 2022):
Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!
@Panquesito7 commented on GitHub (Oct 3, 2022):
CC: @TheAlgorithms/c_maintainer
@github-actions[bot] commented on GitHub (Nov 3, 2022):
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@github-actions[bot] commented on GitHub (Nov 12, 2022):
Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!