eclipse-cyclonedds/cyclonedds-cxx

'dds_take_with_collector' was not declared in this scope

Closed this issue · 2 comments

Hi,@eboasson. When i try to compile the cyclone@master with cyclone-cxx@0.10.3 then i have a compile error, how did you done it?
/cyclonedds-cxx/src/ddscxx/src/org/eclipse/cyclonedds/sub/AnyDataReaderDelegate.cpp:414:11: error:
'dds_take_with_collector' was not declared in this scope
'dds_read_with_collector' was not declared in this scope

Why would you want to do that? The general rule is that mixing and matching 0.10.x and master is tricky. The C++ binding does use some things that are not part of the stable API and so not all combinations always work.

Besides, I suspect you flipped the versions and you're trying to build cyclonedds-cxx @ master against cyclonedds @ 0.10.3: the dds_take_with_collector function was introduced very recently in master and is definitely not in 0.10.3.

Thank you for your quick reply, as you said, it was a version mismatch issue.