flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

error during make

Open johninn opened this issue 2 years ago • 1 comments

I got error during make

[ 41%] Building CXX object CMakeFiles/flatc.dir/grpc/src/compiler/ts_generator.cc.o [ 42%] Linking CXX executable flatc CMakeFiles/flatc.dir/src/flatc.cpp.o: In function flatbuffers::FlatCompiler::AnnotateBinaries(unsigned char const*, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)': flatc.cpp:(.text+0x1089): undefined reference to flatbuffers::BinaryAnnotator::Annotate()' flatc.cpp:(.text+0x1134): undefined reference to `flatbuffers::AnnotatedBinaryTextGenerator::Generate(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' collect2: error: ld returned 1 exit status

johninn avatar Jun 14 '22 09:06 johninn

Its building at head, are you using a old build?

dbaileychess avatar Jun 14 '22 23:06 dbaileychess