why do I get this error every time I include gameplaystatics in my project

Hello, I keep on getting this error every time I add gameplaystatics.h to my project. I’ve tried so man ways to fix it, but nothing worked. I didn’t know what to do again so I decided to ask, here is my header file: HeaderFile and cpp file:

and here is the log :

I’d appreciate it if someone could help me!

I have no idea what’s going on BUT:
I’d change your include order in .cpp file to TankAimingCom.h first. Do this to all of your .cpp files, to include your relative header on top.

1 Like

i think it literally requires that include header for the current source file be on top.

I’m guessing this is not from Visual Studio, none of that looks familiar… what are you building with?