I would like to use Google’s FlatBuffers to help write some tools for talking to some UE4 servers. I’ve sank GitHub - google/flatbuffers: FlatBuffers: Memory Efficient Serialization Library and built the project using CMake. I’ve copied the .lib generated into UE4’s Third Party folder and have attempted to create a module for it by creating a flatbuffers.build.cs pointing to the include and .lib. However during compile of the editor I’m getting the error
C:\p4\Engine\Source\ThirdParty\flatbuffers\include\grpcpp/impl/codegen/config_protobuf.h(25): fatal error C1083: Cannot open include file: 'google/protobuf/stubs/common.h': No such file or directory
Which makes sense because that file really doesn’t exist, but it doesn’t exist in the source either which is confusing. Has anyone been able to integrate FlatBuffers into UE4 and if so how did you manage to do that? Any help would be appreciated.