Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Problem

You may face the following error during compilation on Ubuntu OS:

ERROR: locale::facet::_S_create_c_locale name not valid

1 error(s)

Code preprocessing failed!

 (error code: 0)


Solution

This error appears due to the LC_ALL env variable is not set by default in Ubuntu.

 You can run the following command from your Querix user to set the variable:

echo -e "export LANG=en_US.UTF-8\nexport LC_ALL=en_US.UTF-8">>~/.bashrc && source ~/.bashrc
  • No labels