rtiddsgen

2 posts / 0 new
Last post
Offline
Last seen: 3 months 3 days 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: 3 months 3 days 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: 3 months 3 days 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: 1 year 2 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: 1 year 2 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: 6 months 3 weeks 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: 1 year 4 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: 2 years 4 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: 2 years 8 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?

5 posts / 0 new
Last post
Offline
Last seen: 2 years 9 months ago
Joined: 06/30/2021
Posts: 7
Helloworld.idl rtiddsgen generation for x86_64

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

Keywords:
Subscribe to RSS - rtiddsgen