GODOT_CLASS not found, and godot_gdnative init and terminate declare void

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Amari

Using godot with c++ and mingw on windows with vscode. I got it set up, but GCC is complaining that GODOT_CLASS needs an explicit type

Secondly, godot_gdnative_init doesnt have a storage class or type specifier, it has an incomplete type, and it declares void

What should I do?