rtiddsgen

6 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week 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: 5 months 3 weeks 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: 6 months 3 weeks 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: 10 months 1 week 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: 1 year 3 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 week 15 hours 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:
1 post / 0 new
Offline
Last seen: 1 month 3 weeks ago
Joined: 02/20/2020
Posts: 6
Packaging IDL for reuse in C# projects

I'm looking to split common IDL and specific IDL for reusing purposes in a C# environment. I've created a Position.idl file and a Car.idl file in separate projects. I've used rtiddsgen to generate the type files for position and build a dll (based on the example solution).

1 post / 0 new
Offline
Last seen: 2 years 1 month ago
Joined: 10/23/2019
Posts: 1
Build error for streaming-video example in VS2019

Followed the instruction from https://www.rti.com/developers/case-code/streaming-video to build the application in VS2019.  Got the following error:

1>------ Rebuild All started: Project: SharedDataTypes, Configuration: Debug x64 ------

5 posts / 0 new
Last post
Offline
Last seen: 2 years 5 months ago
Joined: 08/22/2019
Posts: 4
Compilation failure with Java classes generated by rtiddsgen

Hello,

I'm using rtiddsgen (from the 6.0.0 distribution) to generate Java classes from an IDL file.

rtiddsgen -d output -inputidl ida.idl -language Java -package dds.xyz -ppDisable -update typefiles

The Java classes are generated successfully, but some of them cannot be compiled. The errors reported by the Java compiler mainly have to do with converting to either a Sequence or a List. Here are a couple of examples:

3 posts / 0 new
Last post
Offline
Last seen: 2 years 11 months ago
Joined: 02/23/2019
Posts: 1
rtiddsgen: Command not found

Hello

I'm a teaching assistant for "Distributed system concepts and programming" and we have a project to create a simple publisher/subscriber using RTI Connext DDS.

Now, few students have the problem to use "code generator" in RTI launcher and got the error indicating "rtiddsgen: Command not found", although they set the path and environmentariables correctly.

I attached screenshots of the bash and SSH terminal.

Can somebody help, please?

Keywords:
Subscribe to RSS - rtiddsgen