Intel C++ Compiler problem on Ubuntu 8.04

January 23rd, 2009 | Categories: Linux, programming | Tags:

I’ve just installed the Intel C++ compiler on a Ubuntu 8.04 system and when I try to compile something I get the error message

Catastrophic error: could not set locale “” to allow processing of multibyte characters

I fixed this by adding the following to my .bashrc file

export LANG=C

Maybe this will help someone out there.

  1. Santosh Tiwari
    March 19th, 2009 at 20:26
    Reply | Quote | #1

    Thanks,

    I was getting the same error. Found your solution, tried it, and it works.

    :)

    I am using “Ubuntu 8.10 – the Intrepid Ibex – released in October 2008”

  2. Rastko
    May 6th, 2009 at 02:44
    Reply | Quote | #2

    Thanks a lot! You have saved me hours of banging my head against a wall. :-)

  3. September 13th, 2009 at 10:16
    Reply | Quote | #3

    Hi,
    I am just start to learn C/C++. I wonder why you choose Intel C++ compiler over gcc?
    I found nice app., maybe you find them useful: Code::Blocks http://www.codeblocks.org/ and VDK Builder 2 http://home.planet.nl/~groe2579/vdkbuilder/

  4. Mike Croucher
    September 13th, 2009 at 16:00
    Reply | Quote | #4

    Hi Goran

    I used to use C++ a lot and back then I used the gcc toolchain. These days I don’t do any C++ programming myself but part of my job involves supporting people who program in C++. Some of these programmers requested that they had access to the Intel C++ compiler for various reasons and my employer supplied it for them.

    My job is to try and ensure that they can use it on their machines. If they have problems installing the compiler then they might come to me and I try to solve them. This was one such problem :)

    Mike

  5. Hwangho Kim
    August 14th, 2012 at 02:00
    Reply | Quote | #5

    Thanks! it works!