Why does rtiddsgen require a C preprocessor for its code generation? Why does rtiddsgen try to locate cc1plus?

Before processing an IDL file, rtiddsgen attempts to run a C preprocessor to support #if tests and related preprocessor directives. There are several options you can pass to rtiddsgen to control preprocessor use, including: 

  • -ppDisable (formerly -ppNotRun) : Don't use the C preprocessor 
  • -ppPath: Filesystem path to preprocessor utility 

You can also use -D and -ppOption to define variables or further control the preprocessor arguments.

Run rtiddsgen -help for more information.

Programming Language: