rtiddsgen

1 post / 0 new
Offline
Last seen: 2 days 14 hours ago
Joined: 09/10/2022
Posts: 60
How get error from rti code generator when use repeated id in fields?

Hello. I use rti code generator version 3.0.0.

I need to give id to struct fields in idl file staticly. Problem is that when I give repeated id to fields, I don't get error from rti code generator, even it is not acceptable and rti admin console can not know its type!

Is there any option to get error when reapeted id set for fields?

2 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 02/07/2020
Posts: 21
Error compiling string constexpr

rtiddsgen 3.1.2 targeting C++11 generates a const string as follows:

Keywords:
7 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 02/07/2020
Posts: 21
rtiddsgen fails to evaluate const expression

Connext Version: 7.2.0
rtiddsgen Version: 4.2.0

I have the following constants defined:

Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 02/07/2020
Posts: 21
duplicate symbol error with rtiddsgen

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 

2 posts / 0 new
Last post
Offline
Last seen: 2 years 8 months ago
Joined: 02/03/2023
Posts: 1
RTI connext setup (Linux)

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. 

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 2 years 8 months ago
Joined: 01/31/2023
Posts: 1
RTIDDSGEN build fails inside of Docker container

 

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:

Organization:
6 posts / 0 new
Last post
Offline
Last seen: 2 years 5 days ago
Joined: 10/09/2022
Posts: 13
rtiddsgen bug: 0 no viable alternative

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

 

Keywords:
6 posts / 0 new
Last post
Offline
Last seen: 2 years 9 months ago
Joined: 03/13/2022
Posts: 11
userData in rti version 6.1.1
problem in using @copy in idl
6 posts / 0 new
Last post
Offline
Last seen: 3 years 9 months ago
Joined: 12/13/2021
Posts: 4
Build error on IDL generated C++11 code - no user code

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.

6 posts / 0 new
Last post
Offline
Last seen: 4 years 2 months ago
Joined: 07/26/2021
Posts: 4
LNK2019 Error

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?

Subscribe to RSS - rtiddsgen