I do now know how to initialize structures on the global scope.
The following is a sample code:
#include
struct A
{
int x;
};
struct
The problem you are observing is not related to including glut. The compiler does not allow you to assign value to a structure in the global scope. You can achieve what you want either by calling a constructor of the structure(which would be allowed at global scope) or by calling the assignment in some function.
EDIT: here is a somewhat related discussion: Why can't I access my array subscript in global scope