Closed jiejieTop closed 1 year ago
Hi @jiejieTop,
ok, first question: How are you sending your data?
Do you have a regular eCAL::protobuf::CPublisher<eon::proto::sensor::Image>
which is sending the data?
We do work a lot with nested protobuf's (see also the person example, it's distributed over 3 different proto files here), and haven't had any problems so far.
Things get a little more interesting when the proto files are also in a directory structure: We usually use this CMake function to generate the protobufs pb.h
and pb.cc
files.
So how (with which protoc invocation) do you generate the files?
Is it possible that you can create a minimal sample (e.g. CMakeLists.txt, main.cpp, and 2 proto files) where this occurs , so we can take a look?
Closing due to inactivity.
Problem Description
When I import other proto files in the proto file and publish the data, the monitor will report the following error:
my image proto:
my common.proto file, using
import public "xxx.proto";
,this can't workWhen I write directly in the image proto file like this, can work
This error only occurs when proto imports an intermediate file.
How to reproduce
How did you get eCAL?
Ubuntu PPA (apt-get)
Environment
eCAL System Information