Muokkaa

Jaa


Resource compiler errors and warnings (RCxxxx, RWxxxx)

This section is a reference to the errors generated by the resource compiler. Resource compiler errors and warnings have the form RCxxxx or RWxxxx, where xxxx is a four-digit number.

Important

The Visual Studio compilers and build tools can report many kinds of errors and warnings. After an error or warning is found, the build tools may make assumptions about code intent and attempt to continue, so that more issues can be reported at the same time. If the tools make the wrong assumption, later errors or warnings may not apply to your project. When you correct issues in your project, always start with the first error or warning that's reported, and rebuild often. One fix may make many subsequent errors go away.

To get help on a particular diagnostic message in Visual Studio, select it in the Output window and press the F1 key. Visual Studio opens the documentation page for that error, if one exists. You can also use the search tool at the top of the page to find articles about specific errors or warnings. Or, browse the list of errors and warnings by tool and type in the table of contents on this page.

Note

Not every Visual Studio error or warning is documented. In many cases, the diagnostic message provides all of the information that's available. If you landed on this page when you used F1 and you think the error or warning message needs additional explanation, let us know. You can use the feedback buttons on this page to raise a documentation issue on GitHub. If you think the error or warning is wrong, or you've found another problem with the toolset, report a product issue on the Developer Community site. You can also send feedback and enter bugs within the IDE. In Visual Studio, go to the menu bar and choose Help > Send Feedback > Report a Problem, or submit a suggestion by using Help > Send Feedback > Send a Suggestion. Some compiler error topics were created that are not emitted by the compiler and now redirect to this page instead.

You may find additional assistance for errors and warnings in Microsoft Learn Q&A forums. Or, search for the error or warning number on the Visual Studio C++ Developer Community site. You can also search Stack Overflow to find solutions.

For links to additional help and community resources, see Visual C++ Help and Community.

Resource compiler fatal errors

Resource compiler fatal error RC1002
Resource compiler fatal error RC1004
Resource compiler fatal error RC1009
Resource compiler fatal error RC1011
Resource compiler fatal error RC1015
Resource compiler fatal error RC1017
Resource compiler fatal error RC1018
Resource compiler fatal error RC1019
Resource compiler fatal error RC1020
Resource compiler fatal error RC1021
Resource compiler fatal error RC1022
Resource compiler fatal error RC1047
Resource compiler fatal error RC1052
Resource compiler fatal error RC1067
Resource compiler fatal error RC1101
Resource compiler fatal error RC1102
Resource compiler fatal error RC1105
Resource compiler fatal error RC1109
Resource compiler fatal error RC1116
Resource compiler fatal error RC1120
Resource compiler fatal error RC1121
Resource compiler fatal error RC1203
Resource compiler fatal error RC1205
Resource compiler fatal error RC1208
Resource compiler fatal error RW1004
Resource compiler fatal error RW1009
Resource compiler fatal error RW1016
Resource compiler fatal error RW1022
Resource compiler fatal error RW1023
Resource compiler fatal error RW1025
Resource compiler fatal error RW1030

Resource compiler errors

Resource compiler error RC2001
Resource compiler error RC2007
Resource compiler error RC2015
Resource compiler error RC2017
Resource compiler error RC2101
Resource compiler error RC2103
Resource compiler error RC2104
Resource compiler error RC2107
Resource compiler error RC2109
Resource compiler error RC2111
Resource compiler error RC2112
Resource compiler error RC2113
Resource compiler error RC2114
Resource compiler error RC2116
Resource compiler error RC2122
Resource compiler error RC2124
Resource compiler error RC2127
Resource compiler error RC2135
Resource compiler error RC2144
Resource compiler error RC2147
Resource compiler error RC2148
Resource compiler error RC2151
Resource compiler error RC2152
Resource compiler error RC2162
Resource compiler error RC2163
Resource compiler error RC2164
Resource compiler error RC2165
Resource compiler error RC2167
Resource compiler error RC2169
Resource compiler error RC2170
Resource compiler error RC2171
Resource compiler error RC2175
Resource compiler error RW2001
Resource compiler error RW2002
Resource compiler error RW2003

Resource compiler warnings

Resource compiler warning RC4002
Resource compiler warning RC4005
Resource compiler warning RC4093
Resource compiler warning RC4214
Resource compiler warning RW4001
Resource compiler warning RW4003
Resource compiler warning RW4004

See also

C/C++ Compiler and build tools errors and warnings Resource compiler