Skip to content

Commit

Permalink
Add locale requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ksomml authored Oct 4, 2024
1 parent 4fe7a0f commit dd2bea6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/build/opensim-gui-linux-build-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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 libpcre3 libpcre3-dev libpcre2-dev byacc git gfortran libtool libssl-dev libffi-dev ninja-build patchelf || ( echo "Installation of dependencies using apt-get failed." && exit )
Expand Down Expand Up @@ -217,4 +226,4 @@ echo
echo "LOG: INSTALLING OPENSIM-GUI..."
cd ~/opensim-workspace/opensim-gui-source/Gui/opensim/dist/installer/opensim
bash INSTALL
echo
echo

1 comment on commit dd2bea6

@ksomml
Copy link
Author

@ksomml ksomml commented on dd2bea6 Oct 4, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.