Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

'cpp' is not recognized as an internal or external command

The qidl compiler depends on an external preprocessor to preprocess the input IDL. By default, cpp is used as the preprocessor, but cpp may not be available on all systems. Error messages such as "cpp: command not found" or "'cpp' is not recognized as an internal or external command" indicate that the cpp preprocessor is not installed or not in the search path.

On Windows, cpp can be installed by installing Cygwin with the gcc package. Make sure the path to the directory containing cpp is included in the PATH environment variable.

The -p command-line switch can be used to specify an alternate preprocessor if one is available, and can be used in conjunction with the -pa switch to pass arguments to the preprocessor.