如何使用qtcreator和openDDS运行InfoRepoDiscovery或RTPS

问题描述 投票:0回答:1

我已经将OpenDDS与QTCreator集成在一起。但是,当我使用qtcreator运行项目messenger_1时,得到以下信息:

开始发布者

以1个参数开始发布者

((3493 | 139818606339904)Service_Participant :: set_repo_ior错误-未为InfoRepoDiscovery注册任何发现类型

((3493 | 139818606339904)错误:DomainParticipantImpl :: enable,未找到域ID为4的存储库。

((3493 | 139818606339904)错误:DomainParticipantFactoryImpl :: create_participant,无法启用DomainParticipant。

/ home / OpenDDS / tests / cmake_integration / Messenger / publisher.cpp:105:main()错误:create_participant失败!

c++ cmake qt-creator opendds
1个回答
0
投票

您是否运行过source setenv.sh?您是否也使用命令$DDS_ROOT/bin/DCPSInfoRepo启动infoRepo?

© www.soinside.com 2019 - 2024. All rights reserved.