Error Rc1205:invalid code page

Source: Internet
Author: User

Get followings error and warnings when building project:

Error Rc1205:invalid code page
Warning C4005: ' __useheader ': Macro redefinition
Warning C4005: ' __on_failure ': Macro redefinition

Explanation from Msdn:resource Compiler Fatal Error RC1205

The Specify code page (/c) option is followed by an invalid code page. See Code Pages in the run-time Library Reference for more information.

Check following items:

1. Check rc file ' s/c option

Go to Project Properties-Configuration Properties--Resources--all options--Additional options

If you set the this value, make sure the/c option is set correctly.

If this doesn ' t work, please continue:

2. Platform Toolset

Project Properties-Configuration Properties--Platform toolset

Make sure this value is set correctly.

i.e. might get error RC1205 if you is trying to use VS2012 to compile legacy DirectX code.

Beside, if you set "Visual Studio 2012-windows XP (V110_XP)" as "Platform toolset",

Project Properties-Configuration Properties--Resources--all Options-Preprocessor definitions

_using_v110_sdk71_ 'll is automatically added to "Preprocessor Definitions". Make sure didn ' t delete it accidently.

reference:vs2012 C + + warning C4005: ' __useheader ': Macro redefinition.

Error Rc1205:invalid code page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.