rtiddsgen

2 posts / 0 new
Last post
Offline
Last seen: 8 months 1 day 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: 8 months 2 days 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 weeks 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: 9 months 1 week 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: 1 year 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: 2 years 1 month 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 2 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:
7 posts / 0 new
Last post
Offline
Last seen: 2 years 6 months ago
Joined: 05/08/2017
Posts: 5
Name conflict between XML and Modern C++

Hi, I have an IDL we use that looks like:

struct Test {
  string<128> _alias;
};

Which generates modern C++ with:

class NDDSUSERDllExport Test {

Organization:
Keywords:
6 posts / 0 new
Last post
Offline
Last seen: 2 years 11 months ago
Joined: 10/15/2020
Posts: 3
How to generate scoped enums with rtiddsgen

Hi there

I've been having issues with name conflicts between two different enums that are trying to use the same name. Unfortunately, it does not seem feasible in this case to be able to change either of the names to resolve the conflict. I believe the modern C++ generation using the -language C++11 option is supposed to address this by avoidding name conflicts?

3 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 1 year 3 months ago
Joined: 04/20/2020
Posts: 24
Enum field names to strings in XML

I have the source XML file that contains all the interface information.

One particular segement is the enum:

Keywords:
Subscribe to RSS - rtiddsgen