Skip to content

Commit

Permalink
Add locale requirements
Browse files Browse the repository at this point in the history
Fixes issue #3924
  • Loading branch information
ksomml authored Oct 4, 2024
1 parent c9336a8 commit 346d494
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/build/opensim-core-linux-build-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ else
fi
echo

# Set UTF-8 locale and en_US locale for numeric formatting.
echo "LOG: CHECKING AND SETTING LOCALE..."
sudo apt update && sudo apt install --yes locales
sudo locale-gen en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
locale
echo

# Install dependencies from package manager.
echo "LOG: INSTALLING DEPENDENCIES..."
sudo apt-get update && sudo apt-get install --yes build-essential cmake autotools-dev autoconf pkg-config automake libopenblas-dev liblapack-dev freeglut3-dev libxi-dev libxmu-dev doxygen python3 python3-dev python3-numpy python3-setuptools git libssl-dev libpcre3 libpcre3-dev libpcre2-dev libtool gfortran ninja-build patchelf || ( echo "Installation of dependencies using apt-get failed." && exit )
Expand Down

1 comment on commit 346d494

@ksomml
Copy link
Author

@ksomml ksomml commented on 346d494 Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes issue #3924

Please sign in to comment.