'RequestReplyExampleProfiles::ReplierExampleProfile' not found

2 posts / 0 new
Last post
Offline
Last seen: 7 years 8 months ago
Joined: 07/30/2016
Posts: 2
'RequestReplyExampleProfiles::ReplierExampleProfile' not found

Hello,

I am trying on RTI DDS. When I tried to run the Request-Reply Example, I got the following (My os: ubuntu 14.04, gcc 4.8.4):

ift0015@IFT0015-DELL:~/rti_workspace/5.2.3/examples/connext_dds/c++/hello_world_request_reply/objs/x64Linux3gcc4.8.2$ ./PrimeNumberReplier 1
PrimeNumberReplier running (on domain 1)
Expires on 29-Aug-2016 See www.rti.com for more information.
DDS_QosProvider_get_datawriter_qos_from_profile:ERROR: Profile 'RequestReplyExampleProfiles::ReplierExampleProfile' not found
EntityUntypedImpl::get_datawriter_qos:!get DataWriter qos
connext::details::EntityUntypedImpl::initialize:!failed (see previous errors)
Exception: connext::details::EntityUntypedImpl::initialize failure caused by EntityUntypedImpl::get_datawriter_qos:!get DataWriter qos

ift0015@IFT0015-DELL:~/rti_workspace/5.2.3/examples/connext_dds/c++/hello_world_request_reply/objs/x64Linux3gcc4.8.2$ ./PrimeNumberRequester 10 1 0
PrimeNumberRequester: Sending a request to calculate the prime numbers <= 10 in sequences of 1 or less elements (on domain 0)
Expires on 29-Aug-2016 See www.rti.com for more information.
DDS_QosProvider_get_datawriter_qos_from_profile:ERROR: Profile 'RequestReplyExampleProfiles::RequesterExampleProfile' not found
EntityUntypedImpl::get_datawriter_qos:!get DataWriter qos
connext::details::EntityUntypedImpl::initialize:!failed (see previous errors)
Exception: connext::details::EntityUntypedImpl::initialize failure caused by EntityUntypedImpl::get_datawriter_qos:!get DataWriter qos


ift0015@IFT0015-DELL:~/rti_workspace/5.2.3/examples/connext_dds/c++/hello_world_request_reply/objs$ ls
x64Linux3gcc4.8.2
ift0015@IFT0015-DELL:~/rti_workspace/5.2.3/examples/connext_dds/c++/hello_world_request_reply/objs$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks!

Tao Wang

Offline
Last seen: 7 years 8 months ago
Joined: 07/30/2016
Posts: 2

I found my problem, the profile file should be copied to the folder where the executable is in.