register_type shared object

1 post / 0 new
Offline
Last seen: 2 years 10 months ago
Joined: 02/02/2018
Posts: 13
register_type on a custom type multiple times fails (shared object)

Hi, all,

RTI Connext DDS 5.3
Linux (Ubuntu 16.04)
Traditional C++ API
GCC 4.9

Calling register_type on a custom IDL type succeeds the first time, but when called a second time from a shared library, the call fails with the DDS_RETCODE_PRECONDITION_NOT_MET ERROR. Per the documentation, this indicates:

Organization:
Subscribe to RSS - register_type shared object