rtiddsgen 3.1.2 targeting C++11 generates a const string as follows:
rtiddsgen
Connext Version: 7.2.0
rtiddsgen Version: 4.2.0
I have the following constants defined:
Connext Version: 7.2.0
Running the following command (simplified to show just the key arguments):
rtiddsgen -strict -language C++11 -unboundedSupport -inputXml types.xml
I get the following error:
types.xml line 160 duplicate symbol 'Tx1' was previously defined in file types.xml line 5
Looking in the XML, I have two enums defined as:
<enum name="FirstEnum"> <enumerator name="TX1" value="0" /> ... </enum>
And
Hello there, just wanted to post this question as i am having trouble with my set up (first time user)
Attempting to work through the 'RTI Connext Getting Started' manual, i beleive i have set up my %NDDSHOME correctly and have a license managed bundle so do not have to install target/host applications manually.
However, when i attempt to run the code generator, i receive 'rtiddsgen: command not found'
Have looked around for the answer to no avail. Any direction would be very appreciated.
I experience problem compiling C++ code, which seems to be specific to my case.
The build is happening inside of Docker dev container.
Container compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6).
RTI Connext version 6.1.1 Professional.
The problem started happening recently after I upgrade Linux kernel to 6.1.0-3-amd64 (Debian, Bullseye).
The dev container is run inside of VSCode. The output that appears unusual from what I typically see:
Hi, I got the following error when use rtiddsgen
to generate types files.
ERROR com.rti.ndds.nddsgen.antlr.auto.IdlParser tpc_alarm.idl line 11:0 no viable alternative at input '# 11 "tpc_alarm.idl" 3\n' in member declaration
ERROR com.rti.ndds.nddsgen.Main Fail: java.lang.Exception: The file couldn't be parsed and the rawTree wasn't generated
INFO com.rti.ndds.nddsgen.Main Done (failures)
The idl files are listed:
// tpc_common.idl
Hi there,
I’ve been fighting this build error for some time, which is emitted from inside the RTI DDS code when compiling only generated code.
I need to use the C++11 language option as I need to use the Modern C++ API.
The IDL “basictypes” consists of a hierarchy of simple nested structures with primitive types, no enums or anything special.
I have multiple idl files, I but all of them in the sam directory.
I was able to generate the project files using rtiddsgen.
When I attempted to build the generated project, I kept getting LNK2019 errors.
Does anyone has any idea as to why I'm getting that or how can I overcome these errors?
Hi,
I installed the evaluvation bundle of RTI and followed the instruction mentioned in https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/getting_started/cpp11/intro_pubsub_cpp.html#.
I am working with the below architecture and excuted the command rtiddsgen -language c++11 -platform x64 -create makefiles -create typefiles -d c++11 hello_world.idl and got the error rtiddsgen can not generate build/project files for the architecture: x64