NOTE: On all platforms (Windows, OSX, Linux), you should build all OpenSim dependencies (Simbody, etc) with the same CMAKE_BUILD_TYPE (Linux) / CONFIGURATION (MSVC/Xcode) (e.g., Release, Debug) as OpenSim. Failing to do so may result in mysterious runtime errors like segfaults.
- Install platform specific dependencies from pacman
sudo pacman -S base-devel cmake autoconf pkg-config automake blas lapack freeglut libxi libxmu doxygen python3 python-numpy git openssl pcre pcre2 libtool gcc-fortran ninja patchelf byacc bison glu jdk8-openjdk
- Install this specific outdated version of SWIG (4.1.1):
sudo pacman -U https://archive.archlinux.org/packages/s/swig/swig-4.1.1-2-x86_64.pkg.tar.zst
NOTE: If you run
sudo pacman -Syu
it will update the SWIG version so you'll have to run the command again to revert to the older version
- Install Netbeans 12.3
mkdir -p ~/opensim-workspace/Netbeans12.3 || true && cd ~/opensim-workspace/Netbeans12.3
wget -nc -q --show-progress https://archive.apache.org/dist/netbeans/netbeans/12.3/Apache-NetBeans-12.3-bin-linux-x64.sh
chmod 755 Apache-NetBeans-12.3-bin-linux-x64.sh
./Apache-NetBeans-12.3-bin-linux-x64.sh
For now follow opensim build instructions 1
// TODO
-
Install platform dependencies first!
-
Build opensim-core by running
build-core.sh
. Add-n
flag if you have and want to use Ninja instead of Makefiles -
On first install you will need to add opensim-core to your path or symlink it to somewhere already on the path. Note that this script will ask for sudo so it is a good idea to inspect it's contents before running. This script will symlink opensim-core to
usr/local/bin
which should be on your path:
~/opensim-core/bin/opensim-install-command-line.sh
- Optionally build the gui with
build-gui.sh
(you will need to build the core with java bindings)
- Install platform dependencies (the opensim dependencies include all of these)
- cross-platform building: CMake 3.12 or later.
- compiler: Visual Studio 2015, 2017, or 2019 (Windows only), gcc 4.9.0 or later (typically on Linux), Clang 3.4 or later, or Apple Clang (Xcode) 8 or later.
- linear algebra: LAPACK 3.6.0 or later and BLAS
- visualization (optional): FreeGLUT, Xi and Xmu
- Build simbody by running
build-simbody.sh
. Add-n
flag if you have and want to use Ninja instead of Makefiles
-
Build Instructions 1 - Github
-
Build Instructions 2 - Confluence
-
Build Instructions 3 - Deprecated
-
Build Instructions 4 - GUI
-
Build Instructions 5 - GUI Installer
-
Build Instructions 6 - Doxygen
-
Build Instructions 7 - Linux Support