cancel
Showing results for 
Search instead for 
Did you mean: 

arm_math.h: No such file or directory

PMOOD.1
Associate II

The configuration for include paths in cubeIDE seems horrendous.  I have installed CMSIS 5.9 using MX no problems.  IDE didnt pick it up. Manually configured the path into cubeIDE..... still cant see the include file ... even though it is right there.

I am using exist source files imported into cubeIDE but there is no easy way to make the cubeIDE see the include paths.

Bang head .. repeat.

Do I have to manually copy the CMSIS DSP files into the project ??

I see from the web this problem occurs alot .. with many different "solutions".

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PMOOD.1
Associate II

...so long story short ... I updated cubeIDE from version 1.18 to 1.19 and the problems went away. 

Includes work correctly and the workspaces are working again. 

View solution in original post

4 REPLIES 4
PMOOD.1
Associate II

PMOOD1_0-1754828061248.png

The problem is bigger than I thought ... cubeMX loads the files into what it thinks is a workspace ... but IDE opens another workspace which it gets from cubeMX .. huh ... when I switch the IDE to the MX workspace I get a inconsistency message ... huh. 

TDK
Super User

Include paths are in project properties:

TDK_0-1754832292878.png

 

If you feel a post has answered your question, please click "Accept as Solution".

Thanks for your reply TDK ...however

this is the result of "generate code" in MX

PMOOD1_0-1754872935773.png

... and when I press open project.

cubeIDE opens my default workspace below ..

 

BUT.... the project file heirarchy is there but contains no generated source files ...

the files are actually  in the MX directory above.

 

PMOOD1_1-1754873098099.png

PMOOD1_2-1754873308778.png

when I try to set the IDE workspace to where MX actually put the files ... I get the workspace conflict error message.

But if i try to compile the "empty" project in from the IDE it does compile ( with the arm_math.h error message).

 

PS this started happening after I did a MX update. I am going to reinstall from scratch.

PMOOD.1
Associate II

...so long story short ... I updated cubeIDE from version 1.18 to 1.19 and the problems went away. 

Includes work correctly and the workspaces are working again.