C1081: Not a static member

[ERROR]

Description

The specified identifier was not a static member of a class or structure.

Example
  struct A {

  
    int i;

  
  };

  
  void main() {

  
    A::i=4;   // error

  
  }

  
Tips

Use a member access operator (. or ->) with a class or structure object; or declare the member as static.