The general approach to integrating with an IDE is to run the rtiddgenutility to generate the C/C++ type support files. For a Foo.idl file this would be: Foo.cxx Foo.h Foo.idl FooPlugin.cxx FooPlugin.h FooSupport.cxx FooSupport.h
Then you can add these files into your project.
In addition if you want to have the files automatically updated each time the IDL file change. You need to add some rule to the IDL to execute:
rtiddsgen Foo.idl -ppDisable -language C++ -namespace -update typefiles
You can adjust the command-line options to fit teh desired code-generation. You can see all the options by running rtiddsgen -help
Hello sir I am facing an issue and need ur help,Previously i successfully installed rti in my rhel using QT creator and generated code using the IDL. Now i want to do vice- versa i want to define IDL and create my own code.How can include IDL in my project and write my own c code,can you give an example
Hello,
Note: I am not familiar with QtCreator...
The general approach to integrating with an IDE is to run the
rtiddgen
utility to generate the C/C++ type support files. For a Foo.idl file this would be: Foo.cxx Foo.h Foo.idl FooPlugin.cxx FooPlugin.h FooSupport.cxx FooSupport.hThen you can add these files into your project.
In addition if you want to have the files automatically updated each time the IDL file change. You need to add some rule to the IDL to execute:
rtiddsgen Foo.idl -ppDisable -language C++ -namespace -update typefiles
You can adjust the command-line options to fit teh desired code-generation. You can see all the options by running
rtiddsgen -help
Gerardo
Thanks Mr Gerardo for your valuable comment :)
Hello sir I am facing an issue and need ur help,Previously i successfully installed rti in my rhel using QT creator and generated code using the IDL. Now i want to do vice- versa i want to define IDL and create my own code.How can include IDL in my project and write my own c code,can you give an example