Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#include "arm_math.h" #2

Open
drbytes opened this issue Sep 1, 2018 · 9 comments
Open

#include "arm_math.h" #2

drbytes opened this issue Sep 1, 2018 · 9 comments

Comments

@drbytes
Copy link

drbytes commented Sep 1, 2018

Hi, I installed all the relevant software packs in Keil uVision ... at least that what I thought but I get a compilation error in main.c around line
47: #include "arm_math.h"
resulting in

Src\main.c(47): error:  #5: cannot open source input file "arm_math.h": No such file or directory
  #include "arm_math.h" 

Do you know what I'm missing? (keil n00b)

@drbytes
Copy link
Author

drbytes commented Sep 1, 2018

I've commented the line and it builds.

@pieterjanbuntinx
Copy link

You have to include the path C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.4.0\CMSIS\Include in the "Options for Target..." > C/C++. Afterwards it compiles al the c-files but it gets stuck on the other issue that's reported in this repo.

@Johnvan
Copy link

Johnvan commented Feb 24, 2019

I have a similar problem with an adafruit MP3 program that uses arm_math.h, what do I have to do to fix this thing.
ERROR: arm_math.h: No such file or directory

@pieterjanbuntinx
Copy link

It now works for me. To solve the other error I got I had to enable this:
image

@Johnvan
Copy link

Johnvan commented Feb 28, 2019

I have no idea what you are trying to tell me about Enabling this, what and how. Where is this Options for Target.

@gaucho1978
Copy link

You have to include the path C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.4.0\CMSIS\Include in the "Options for Target..." > C/C++. Afterwards it compiles al the c-files but it gets stuck on the other issue that's reported in this repo.

in my case the correct folder is: C:\Users\GauchoHP\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Include

after doing this it correctly compile.

@renmalek7
Copy link

Hi. Were you able to flash this firmware?

@Johnvan
Copy link

Johnvan commented Apr 9, 2020

I updated my IDE and the fault went away. Thankyou for your assistance however, much appreciated.

@weiminshen99
Copy link

The <arm_math.h> and other related .h files may also be found at this repository:
https://github.com/PaulStoffregen/arm_math

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants