Codelet to converter ColorCameraProto to ImageProto | building error : use of deleted function

Hello,
the principle is very simple, I want to send a ImageProto with the image of an incoming ColorCameraProto.

My code is :

void camtoimg::start() {
  tickOnMessage(rx_input_imageL());
  synchronize(rx_input_imageL(),rx_input_imageR());
}
void camtoimg::tick() {
  auto inputL = rx_input_imageL().getProto();
  ImageConstView3ub input_imageL;
  bool okL = FromProto(inputL.getImage(), rx_input_imageL().buffers(), input_imageL);
  ASSERT(okL, "Failed to deserialize the input image L");
  auto outputL = tx_output_imageL().initProto();
  ToProto(std::move(input_imageL), outputL, tx_output_imageL().buffers());
  tx_output_imageL().publish(rx_input_imageL().acqtime());

  auto inputR = rx_input_imageR().getProto();
  ImageConstView3ub input_imageR;
  bool okR = FromProto(inputR.getImage(), rx_input_imageR().buffers(), input_imageR);
  ASSERT(okR, "Failed to deserialize the input image R");
  auto outputR = tx_output_imageR().initProto();
  ToProto(std::move(input_imageL), outputR, tx_output_imageR().buffers());
  tx_output_imageR().publish(rx_input_imageR().acqtime());
}

I get the following error :

In file included from ./messages/camera.hpp:14:0,
                 from apps/samples/stereo_vo/camtoimg.cpp:8:
./messages/image.hpp: In instantiation of 'void ToProto(isaac::ImageBase<K, N, Container>, ImageProto::Builder, std::vector<isaac::SharedBuffer>&) [with K = unsigned char; int N = 3; BufferType = isaac::detail::BufferBase<isaac::detail::TaggedPointer<const unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> > >]':
apps/samples/stereo_vo/camtoimg.cpp:40:73:   required from here
./messages/image.hpp:122:3: error: static assertion failed: Must own the data to send it.
   static_assert(isaac::BufferTraits<BufferType>::kIsOwning, "Must own the data to send it.");

If I change ImageConstView3ub to Image3ub I get the following errors :

thoth@bigC:~/isaac/apps/samples$ bazel build stereo_vo
WARNING: /home/thoth/.cache/bazel/_bazel_thoth/247cdffee7dc00d5b044836eab653a71/external/opencv_x86_64/BUILD.bazel:11:1: in linkstatic attribute of cc_library rule @opencv_x86_64//:opencv_x86_64: setting 'linkstatic=1' is recommended if there are no object files
INFO: Analyzed target //apps/samples/stereo_vo:stereo_vo (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/thoth/isaac/apps/samples/stereo_vo/BUILD:36:1: Couldn't build file apps/samples/stereo_vo/_objs/_modlib_camimgconv/camtoimg.o: C++ compilation of rule '//apps/samples/stereo_vo:_modlib_camimgconv' failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/apps/samples/stereo_vo/_objs/_modlib_camimgconv/camtoimg.d ... (remaining 247 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./messages/camera.hpp:14:0,
                 from apps/samples/stereo_vo/camtoimg.cpp:8:
./messages/image.hpp: In instantiation of 'bool FromProto(ImageProto::Reader, const std::vector<isaac::SharedBuffer>&, isaac::ImageBase<K, N, Container>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]':
apps/samples/stereo_vo/camtoimg.cpp:24:84:   required from here
./messages/image.hpp:62:3: error: static assertion failed: Invalid buffer type. Buffer cannot own or mutate data
   static_assert(
   ^~~~~~~~~~~~~
./messages/image.hpp:113:14: error: use of deleted function 'isaac::ImageBase<K, N, BufferType>& isaac::ImageBase<K, N, BufferType>::operator=(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
   image_view = view;
   ~~~~~~~~~~~^~~~~~
In file included from ./engine/gems/serialization/json_formatter.hpp:19:0,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/image/image.hpp:153:14: note: 'isaac::ImageBase<K, N, BufferType>& isaac::ImageBase<K, N, BufferType>::operator=(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]' is implicitly deleted because the default definition would be ill-formed:
   ImageBase& operator=(const ImageBase& other) = default;
              ^~~~~~~~
./engine/core/image/image.hpp:153:14: error: use of deleted function 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>& isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::operator=(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]'
In file included from ./engine/core/image/image.hpp:19:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/tensor/tensor.hpp:248:15: note: 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>& isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::operator=(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]' is implicitly deleted because the default definition would be ill-formed:
   TensorBase& operator=(const TensorBase& other) = default;
               ^~~~~~~~
./engine/core/tensor/tensor.hpp:248:15: error: use of deleted function 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>& isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::operator=(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)'
In file included from ./engine/core/image/image.hpp:16:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/buffers/buffer.hpp:101:7: note: 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>& isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::operator=(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)' is implicitly declared as deleted because 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>' declares a move constructor or move assignment operator
 class Buffer : public detail::BufferBase<Pointer> {
       ^~~~~~
Target //apps/samples/stereo_vo:stereo_vo failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 5.174s, Critical Path: 4.88s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

if I remove std::move() I get :

thoth@bigC:~/isaac/apps/samples$ bazel build stereo_vo
WARNING: /home/thoth/.cache/bazel/_bazel_thoth/247cdffee7dc00d5b044836eab653a71/external/opencv_x86_64/BUILD.bazel:11:1: in linkstatic attribute of cc_library rule @opencv_x86_64//:opencv_x86_64: setting 'linkstatic=1' is recommended if there are no object files
INFO: Analyzed target //apps/samples/stereo_vo:stereo_vo (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/thoth/isaac/apps/samples/stereo_vo/BUILD:36:1: Couldn't build file apps/samples/stereo_vo/_objs/_modlib_camimgconv/camtoimg.o: C++ compilation of rule '//apps/samples/stereo_vo:_modlib_camimgconv' failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/apps/samples/stereo_vo/_objs/_modlib_camimgconv/camtoimg.d ... (remaining 247 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
apps/samples/stereo_vo/camtoimg.cpp: In member function 'virtual void isaac::camtoimg::tick()':
apps/samples/stereo_vo/camtoimg.cpp:35:62: error: use of deleted function 'isaac::ImageBase<K, N, BufferType>::ImageBase(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
   ToProto(input_imageL, outputL, tx_output_imageL().buffers());
                                                              ^
In file included from ./engine/gems/serialization/json_formatter.hpp:19:0,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/image/image.hpp:151:3: note: 'isaac::ImageBase<K, N, BufferType>::ImageBase(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]' is implicitly deleted because the default definition would be ill-formed:
   ImageBase(const ImageBase& other) = default;
   ^~~~~~~~~
./engine/core/image/image.hpp:151:3: error: use of deleted function 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::TensorBase(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]'
In file included from ./engine/core/image/image.hpp:19:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/tensor/tensor.hpp:246:3: note: 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::TensorBase(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]' is implicitly deleted because the default definition would be ill-formed:
   TensorBase(const TensorBase& other) = default;
   ^~~~~~~~~~
./engine/core/tensor/tensor.hpp:246:3: error: use of deleted function 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::Buffer(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)'
In file included from ./engine/core/image/image.hpp:16:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/buffers/buffer.hpp:101:7: note: 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::Buffer(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)' is implicitly declared as deleted because 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>' declares a move constructor or move assignment operator
 class Buffer : public detail::BufferBase<Pointer> {
       ^~~~~~
In file included from ./messages/camera.hpp:14:0,
                 from apps/samples/stereo_vo/camtoimg.cpp:8:
./messages/image.hpp:120:6: note:   initializing argument 1 of 'void ToProto(isaac::ImageBase<K, N, Container>, ImageProto::Builder, std::vector<isaac::SharedBuffer>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
 void ToProto(isaac::ImageBase<K, N, BufferType> image, ::ImageProto::Builder builder,
      ^~~~~~~
apps/samples/stereo_vo/camtoimg.cpp:38:62: error: use of deleted function 'isaac::ImageBase<K, N, BufferType>::ImageBase(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
   ToProto(input_imageL, outputR, tx_output_imageR().buffers());
                                                              ^
In file included from ./messages/camera.hpp:14:0,
                 from apps/samples/stereo_vo/camtoimg.cpp:8:
./messages/image.hpp:120:6: note:   initializing argument 1 of 'void ToProto(isaac::ImageBase<K, N, Container>, ImageProto::Builder, std::vector<isaac::SharedBuffer>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
 void ToProto(isaac::ImageBase<K, N, BufferType> image, ::ImageProto::Builder builder,
      ^~~~~~~
./messages/image.hpp: In instantiation of 'bool FromProto(ImageProto::Reader, const std::vector<isaac::SharedBuffer>&, isaac::ImageBase<K, N, Container>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]':
apps/samples/stereo_vo/camtoimg.cpp:24:84:   required from here
./messages/image.hpp:62:3: error: static assertion failed: Invalid buffer type. Buffer cannot own or mutate data
   static_assert(
   ^~~~~~~~~~~~~
./messages/image.hpp:113:14: error: use of deleted function 'isaac::ImageBase<K, N, BufferType>& isaac::ImageBase<K, N, BufferType>::operator=(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]'
   image_view = view;
   ~~~~~~~~~~~^~~~~~
In file included from ./engine/gems/serialization/json_formatter.hpp:19:0,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/image/image.hpp:153:14: note: 'isaac::ImageBase<K, N, BufferType>& isaac::ImageBase<K, N, BufferType>::operator=(const isaac::ImageBase<K, N, BufferType>&) [with K = unsigned char; int N = 3; BufferType = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>]' is implicitly deleted because the default definition would be ill-formed:
   ImageBase& operator=(const ImageBase& other) = default;
              ^~~~~~~~
./engine/core/image/image.hpp:153:14: error: use of deleted function 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>& isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::operator=(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]'
In file included from ./engine/core/image/image.hpp:19:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/tensor/tensor.hpp:248:15: note: 'isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>& isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>::operator=(const isaac::TensorBase<K, std::integer_sequence<int, DimensionsPack ...>, Buffer>&) [with K = unsigned char; Buffer = isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>; int ...DimensionsPack = {-1, -1, 3}]' is implicitly deleted because the default definition would be ill-formed:
   TensorBase& operator=(const TensorBase& other) = default;
               ^~~~~~~~
./engine/core/tensor/tensor.hpp:248:15: error: use of deleted function 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>& isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::operator=(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)'
In file included from ./engine/core/image/image.hpp:16:0,
                 from ./engine/gems/serialization/json_formatter.hpp:19,
                 from ./engine/alice/hooks/config_hook.hpp:20,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.hpp:12,
                 from apps/samples/stereo_vo/camtoimg.cpp:1:
./engine/core/buffers/buffer.hpp:101:7: note: 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>& isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>::operator=(const isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>&)' is implicitly declared as deleted because 'isaac::Buffer<isaac::detail::TaggedPointer<unsigned char, std::integral_constant<isaac::BufferStorageMode, (isaac::BufferStorageMode)0> >, isaac::CpuAllocator>' declares a move constructor or move assignment operator
 class Buffer : public detail::BufferBase<Pointer> {
       ^~~~~~
Target //apps/samples/stereo_vo:stereo_vo failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 4.774s, Critical Path: 4.62s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

Any idea on how I could make this work ?
Thanks for looking !

Hi I found the solution in this post I had to use the Copy() function to solve the “Must own the data to send it.” issue.

Here is the working code :

 auto inputL = rx_input_imageL().getProto();
 ImageConstView3ub input_imageL;
 bool okL = FromProto(inputL.getImage(), rx_input_imageL().buffers(), input_imageL);
 ASSERT(okL, "Failed to deserialize the input image L");
 auto outputL = tx_output_imageL().initProto();
 outputL.setCols(1280);
 outputL.setRows(960);
 Image3ub output_imageL(960,1280);
 Copy(input_imageL,output_imageL);
 ToProto(std::move(output_imageL), outputL, tx_output_imageL().buffers());
 tx_output_imageL().publish(rx_input_imageL().acqtime());