Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I compile an IDL file with the idltojava compiler, I get a fatal error: idltojava.exe: fatal error: cannot preprocess input; No such file or directory”. What is the problem?

0
Posted

When I compile an IDL file with the idltojava compiler, I get a fatal error: idltojava.exe: fatal error: cannot preprocess input; No such file or directory”. What is the problem?

0

The idltojava compiler in JDK 1.2 is hard-coded to use a default preprocessor. On Windows machines, it uses the MicroSoft Visual C++ preprocessor. You can change the preprocessor that the idltojava compiler uses by setting two environment variables: CPP and CPARGS. Set CPP to the full pathname of the preprocessor you want to use. Set CPARGS to the complete list of arguments to be passed to the preprocessor. You can also turn off the preprocessor by adding -fno-cpp to the idltojava command line. More information is available in the idltojava reference page that is downloaded with the idltojava compiler. We recommend upgrading to the latest version of the IDL to Java compiler, idlj. Version 1.3 of the Java 2 SDK, Standard Edition, includes a new version of Java IDL which is 100% pure Java, so no preprocessor is necessary. The new IDL-to-Java compiler, idlj, is included with the download of J2SE v.1.3. For information on the enhancements to Java IDL that are supported in v.1.3, follow the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.