| Summary | This article clarifies why running the IDL compiler can fail with "idl: spawnvp of idl failed" error |
|---|---|
| Environment |
Orbix 6.3.6 All Supported Windows Operating Systems |
| Question/Problem Description | IDL compiler fails with "idl: spawnvp of idl failed" error |
| Clarifying Information | |
| Error Message | idl: spawnvp of idl failed Preprocessor returned non-zero status -1 |
| Defect/Enhancement Number | |
| Cause |
This issue is caused when using {} brakets when running the iDL compiler, e.g: C:\\idl {-IC:\\Orbix\\asp\\6.3\\idl} {-IC:\\projects\\idl} -jbase=-Vtrue:-Ffalse:-Otarget/generated/src/main/java -jpoa=-Vtrue:-Ffalse:-Otarget/generated/src/main/java {C:\\projects\\idl\\test.idl} |
| Resolution |
Ensure running the IDL compiler without the {} brackets, e.g: C:\\idl -IC:\\Orbix\\asp\\6.3\\idl -IC:\\projects\\idl -jbase=-Vtrue:-Ffalse:-Otarget/generated/src/main/java -jpoa=-Vtrue:-Ffalse:-Otarget/generated/src/main/java C:\\projects\\idl\\test.idl |
| Workaround | |
| Notes | |
| Attachment |
#Orbix
#KnowledgeDocs