c++ - DDS DomainParticipantFactory 错误 CORBA

标签 c++ ubuntu data-distribution-service

我正在尝试创建一个程序来测试 Opensplice DDS。然而,我面临着一些问题,我已经被困了很长时间。

当我尝试创建 DomainParticipantFactory 时,我收到一条错误消息,显示 CORBA:NO_IMPLEMENT。如果我不创建 DomainParticipant,程序就可以运行,所以我认为问题就出在这里。

DDS::DomainParticipantFactory_var dpf = DDS:DomainParticipantFactory::get_instance();
// get_instance() causes the crash.

有人遇到过这样的问题吗?

最佳答案

既然我找到了我的解决方案,我就张贴在这里以防有人得到它。

问题是由于库重叠导致的不当行为。

我将 CCPP 和 SACPP 联系在一起。这产生了某种系统不太喜欢的爆炸性混合物。

所以不要链接错误的库。看你是否使用CORBA系统,慎重选择。

关于c++ - DDS DomainParticipantFactory 错误 CORBA,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15951127/

相关文章:

ubuntu - lein repl 中的 Control-d 行编辑?

c++ - 不要破坏 DDS 系统中的向后兼容性消息

C++ Curl文件下载-错误检查

c++ - 在包含函数调用的范围内持续的临时函数参数

c++ - 在 gitlab CI/CD 中使用 devtoolset

email - 你如何通过 linux 命令行发送电子邮件?

linux - E : Package 'cassandra' has no installation candidate when installing Cassandra

c++ - 如何将 C++ 映射传递到 RTI DDS connext 发布者并在 RTI 订阅者处接收

c++ - 有没有办法查看哪个线程正在使用 gdb 打印到 stdout 或 stderr?