Vexcode .h file file not found?

I have a motor group .h file and it says
[info]: Project Path: /Users/boredfish/Documents/SuccNPush2

[info]: Saving Project ...

[info]: Project saved!

unix build for platform vexv5

CXX src/main.cpp

src/main.cpp:22:10: fatal error: 'motorgrouping.h' file not found

#include "motorgrouping.h"

^~~~~~~~~~~~~~~~~

1 error generated.

make: *** [build/src/main.o] Error 1

[error]: make process closed with exit code : 2`

any help?

What files do you have in your include file. Can you send a screenshot of the left list of files of your overall program?

20 PM

Move your header into the include folder. The compiler isn’t looking outside of the src and include folders for the file.

2 Likes

Yup. Also im wondering why you have a motorgrouping.h file without the same as a cpp file in source?

not really sure how to do it

Ok lets start at the basics. What is is the motorgrouping.h file because it is not needed unless you need to define functions from a separate cpp file in main?

it groups the L and R intake and groups the L and R Arm

Can you send a screenshot of the code in motorgrouping.h?