Helllo @all,
I am currently trying to setup a hello world dpse publisher application in python for communicating with a micro c dpse subscriber application.
I have inserted the Plugin configuration into the USER_QOS_PROFILE.xml and it looks like this:
.... .... <property> <value> <element> <name>dds.discovery.endpoint.lbediscovery.library</name> <value>rtilbedisc</value> </element> <element> <name>dds.discovery.endpoint.lbediscovery.create_function</name> <value>DDS_LBEDiscoveryPlugin_create</value> </element> <element> <name>dds.discovery.endpoint.lbediscovery.config_file</name> <value>LBEDiscoveryPluginExampleSubscriber.xml</value> </element> <element> <name>dds.discovery.endpoint.load_plugins</name> <value>dds.discovery.endpoint.lbediscovery</value> </element> <element> <name>dds.discovery.endpoint.lbediscovery.verbosity</name> <value>0</value> </element> </value> </property> ... ..
Unfortunately when I try to execute the publisher application I get the following error:
rti.connextdds.Error:
[D0000|ENABLE] RTIOsapiLibrary_open:!open library=rtilbedisc.dll
[D0000|ENABLE] DDS_DomainParticipantConfigurator_load_endpoint_discovery_plugins:!failed to load library
[D0000|ENABLE] DDS_DomainParticipantConfigurator_enable:!load endpoint-discovery plugins
[D0000|ENABLE] DDS_DomainParticipant_enableI:!enable transport configurator
enable entity
The file "rtilbedisc.dll" is stored in the following path:
C:\Program Files\rti_connext_dds-6.1.0\resource\app\lib\x64Win64VS2012\6.1.0
I also tried to add the path above to the "Path" environment variable. But no success!
Do you have any ideas? Is there any environment variable missing?
Regards,
Marc
Not sure why the Limited Bandwith plugins are installed in the "resource\app\lib\%arch%" directory. Normally, target libraries are stored in "lib\%arch%".
Windows has all sorts of issues not loading DLLs even if it finds it due to missing dependencies. Have you installed the rdist file for VS2012? Also, are the Connext DLL used by python also for x64Win64VS2012?
Hi Marc,
There are a couple of options I think.
Regards,
Marc
Hello together,
thanks for the reply! I think i fixed the issue by rebuilding the Python API and specifing the rtilbedisc.dll as a plugin option before builing the Python API.
Now I get the following errors:
participant = dds.DomainParticipant(domain_id, participant_qos)
rti.connextdds.Error:
[0x010189A1,0x3D7817B6,0x77982BD3:0x000001C1{N=publisher,D=0}|ENABLE] DDS_DomainParticipantConfigurator_load_endpoint_discovery_plugins:!create custom discovery plugin
[0x010189A1,0x3D7817B6,0x77982BD3:0x000001C1{N=publisher,D=0}|ENABLE] DDS_DomainParticipantConfigurator_enable:!load endpoint-discovery plugins
[0x010189A1,0x3D7817B6,0x77982BD3:0x000001C1{N=publisher,D=0}|ENABLE] DDS_DomainParticipant_enableI:!enable transport configurator
enable entity
any ideas?
Regards,
Marc