You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
In my current c++ project I need to use avro c++ serializer. Firstly I built boost 1.6.2 and based on it I build via Visual Studio 2015 the Avro-cpp.sln file as it is mentioned in avro relevant site. In my code I'm using the following include files #include "avro/DataFile.hh" #include "avro/Compiler.hh" #include "avro/ValidSchema.hh" #include "avro/Schema.hh" #include "avro/Generic.hh" #include "avro/Specific.hh"
I also built from Avro-cpp.sln file the avrocpp.lib and avrocpp.dll and include the lib file in Visual Studio linker.
However when I'm trying to build the project I get the following errors
In my current c++ project I need to use avro c++ serializer. Firstly I built boost 1.6.2 and based on it I build via Visual Studio 2015 the Avro-cpp.sln file as it is mentioned in avro relevant site. In my code I'm using the following include files
#include "avro/DataFile.hh" #include "avro/Compiler.hh" #include "avro/ValidSchema.hh" #include "avro/Schema.hh" #include "avro/Generic.hh" #include "avro/Specific.hh"I also built from Avro-cpp.sln file the avrocpp.lib and avrocpp.dll and include the lib file in Visual Studio linker.
However when I'm trying to build the project I get the following errors
*error LNK2019: unresolved external symbol "public: void __thiscall avro::DataFileWriterBase::syncIfNeeded(void)
error LNK2019: unresolved external symbol "public: __thiscall avro::DataFileWriterBase::DataFileWriterBase(char const ,class avro::ValidSchema const &,unsigned int,enum avro::Codec)"
error LNK2019: unresolved external symbol "public: __thiscall avro::DataFileWriterBase::~DataFileWriterBase(void)" (??1DataFileWriterBase@avro@Anatolii Lazarev (@QAE)@XZ) referenced in function "public: void * __thiscall avro::DataFileWriterBase::`scalar deleting destructor'(unsigned int)"
error LNK2019: unresolved external symbol "public: void __thiscall avro::DataFileWriterBase::close(void)"
error LNK2019: unresolved external symbol "public: void __thiscall avro::DataFileWriterBase::close(void)"
error LNK2019: unresolved external symbol "void __cdecl avro::compileJsonSchema(class std::basic_istream<char,struct std::char_traits > &,class avro::ValidSchema &)"
error LNK2019: "public: void __thiscall avro::DataFileWriterBase::flush(void)"
Can you give me a hint on what I'm doing wrong?