Specifications

Resource Compiler Messages Page 3 of 24
Resource Compiler Fatal Error RC1018
unexpected ’#elif’
The #elif directive did not appear within an #if, #ifdef, or #ifndef construct. Make sure that there is an
#if, #ifdef, or #ifndef statement in effect before this statement.
Resource Compiler Fatal Error RC1019
unexpected ’#else’
The #else directive did not appear within an #if, #ifdef, or #ifndef construct. Make sure that there is an
#if, #ifdef, or #ifndef statement in effect before this statement.
Resource Compiler Fatal Error RC1020
unexpected ’#endif’
An #endif directive appeared without a matching #if, #ifdef, or #ifndef directive. Make sure that there
is a matching #endif for each #if, #ifdef, and #ifndef statement.
Resource Compiler Fatal Error RC1021
invalid preprocessor command string
The characters following the number sign (#) did not form a valid preprocessor directive. The number
sign cannot be used as the first character in an identifier.
Resource Compiler Fatal Error RC1022
expected ’#endif’
An #if, #ifdef, or #ifndef directive was not terminated with an #endif directive. Make sure that there is
an #if, #ifdef, or #ifndef statement in effect before this statement.
Resource Compiler Fatal Error RC1023
cannot open source file filename
The specified file either did not exist, could not be opened, or was not found. Make sure that the
environment settings are valid and that the correct path for the file is specified. If this error appears
without an error message, the Resource Compiler has run out of file handles.
Resource Compiler Fatal Error RC1047
"too many option options, string’"
The given option was specified too many times. The given string is the argument to the option that
caused the error.
Resource Compiler Fatal Error RC1048
unknown option character’ in option
The given character was not a valid letter for the option.
Resource Compiler Fatal Error RC1049
invalid numerical argument string
The Resource Compiler expected a numerical argument but received the given string. This error may
be caused by giving a hexadecimal number without the necessary \x prefix or by a misformed floating-
point number.
Resource Compiler Fatal Error RC1052
compiler limit : #if or #ifdef blocks nested too deeply