I'm using RTI 5.3.1 - ( windows ) code generator to generate my idl to C++ code.
The C++ language that i generate to is "modern C++ (C++11) " - but i have 2 idl files that one of them is include in the other.
How to do it ?
I'm using RTI 5.3.1 - ( windows ) code generator to generate my idl to C++ code.
The C++ language that i generate to is "modern C++ (C++11) " - but i have 2 idl files that one of them is include in the other.
How to do it ?
If I am understanding you correctly you wish to compile 2 IDL files (where one is included #include idl 2 in the other), then compile your source code with the resulting interface (.h) and source (.cxx) files from RTIDDSGEN?
It is simplest to place both IDL files in a single directory, compile first the IDL file (without the include, and output source files into same directory) then compile the IDL file that includes the first file and again output to same directory. I believe this is what you are looking for, however, it has been a while since I have done this so if you have any problems let me know and I will complete the process to test and remind myself.