Source SDK

Source SDK

Problem with compiling SDK for TF2
Hey guys,

I did absolutely what SDK forum said but; when I tried to compile the project. I get these errors. Why is that? What it is with protobuf?


"public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl google::protobuf::MessageLite::SerializePartialAsString(void)const " (?SerializePartialAsString@MessageLite@protobuf@google@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) already defined in libprotobuf-lite.lib(libprotobuf-lite.dll)

"public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl google::protobuf::MessageLite::SerializeAsString(void)const " (?SerializeAsString@MessageLite@protobuf@google@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) already defined in libprotobuf-lite.lib(libprotobuf-lite.dll)

"public: virtual __cdecl google::protobuf::Message::~Message(void)" (??1Message@protobuf@google@@UEAA@XZ) already defined in libprotobuf.lib(libprotobuf.dll)

this kinds of errors.
Last edited by Andorlatch; Mar 10 @ 1:38am