On Tue, May 29, 2018 at 9:42 AM Eric Pederson <[email protected]> wrote:
> Hi all: > > I am trying to build Protobuf (3.5.1) using Visual Studio 2005 (I know, > it's ancient, but we are stuck with it for now). I am getting these errors: > > > Compiling... > main.cc > src\google/protobuf/stubs/hash.h(309) : error C2977: 'stdext::hash_map' : too > many template arguments > C:\Program Files (x86)\Microsoft Visual Studio > 8\VC\include\hash_map(89) : see declaration of 'stdext::hash_map' > src\google/protobuf/stubs/hash.h(319) : see reference to class template > instantiation 'google::protobuf::hash_map' being compiled > src\google/protobuf/stubs/hash.h(309) : error C2955: 'stdext::hash_map' : use > of class template requires template argument list > C:\Program Files (x86)\Microsoft Visual Studio > 8\VC\include\hash_map(89) : see declaration of 'stdext::hash_map' > src\google/protobuf/stubs/hash.h(311) : error C2977: 'stdext::hash_map' : too > many template arguments > C:\Program Files (x86)\Microsoft Visual Studio > 8\VC\include\hash_map(89) : see declaration of 'stdext::hash_map' > > > Is there a workaround for this? Or is Protobuf 3 not compatible with VS > 2005? I am able to build Protobuf 2.6.1 with VS 2005. > If you have to use vs2005, protobuf 2.6.1 might be the latest version you can use. From protobuf 3.0.0, we require at least vs 2008 to build. > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
