As per
this GitHub issue[
^], all versions since 3.6.0 require C++ 11, and will not work in such an ancient version of Visual Studio.
If you can't update to a recent version of Visual Studio
(why not? The community edition of VS2022[^] is free!) then you'll need to use protobuf v3.5.x or earlier.