This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error 869

I am building code for uVision 4, for LPC1768.
The operating system I am using is windows 7.
When I try to build I am getting error as 'System_lpc17xx.c error #869 could not set locale- to allow processing of multibyte character'.
However same code is building on Win XP without any error.

Can anybody help me o fix this issue?

Yogesh

  • One question here - why do you need support for multibyte characters when building embedded source code? Is it for comments in the source, or is it for printouts the code does?

    Note that most embedded targets do not support multibyte data (printf(), sprintf(), strlen() etc) so would require the developer - you - to figure out how to handle multibyte data for serial ports, LCD modules or maybe moving-message LED signs.

    A very significant percentage of all code in this world is done with all variable names and comments in english, just because:
    - it does not involve characters not supported by the compiler and/or programming language.
    - it allows the code to be sold to a company in another country, or to have the maintainance outsourced.
    - it allows companies to employ people from other countries, without that person getting stuck with code that can't be understood because of a language barrier.

  • Hello Per Westermark,
    Thanks for immediate reply.
    I understood your point regarding multibyte character handling.
    But what I was saying that if all the settings are same(compiler/linker paths etc) on WinXP and Windows 7, why my code is not building at all on Windows 7? Is/Are any OS setting/s involved to build a code on Windows 7?

    Please help me.

  • Are you using the --locale=... option to change the language of the compiler messages? If so, then it seems that the locale you're specifying doesn't exist on your new host. Perhaps remove the --locale option or change to one that does exist.

  • HI All members and Guru,

    I think we see same error.

    There is no response or reply from any of the guru, time is runnign out. Can any one help??????

    Arm51 (11:19)

  • There is no response or reply from any of the guru, time is runnign out. Can any one help??????

    Arm51 (11:19)

    ...Following the holy book of back software writing?

    There are so many exceptionally strange posts here lately !

  • ... answering questions

    in responwe to Are you using the --locale=... option to change the language of the compiler messages?

    you reply There is no response or reply from any of the guru, time is runnign out. Can any one help??????

    Erik