error:array type has incomplete element type
This is generally because when a header file USES a custom variable type, the declaration of the variable type does not appear in the header file, that is, it is not declared before it is used. The
solution is to add the header file that declares the variable type to the header file used.