Knowledge Base: DWSIM fails to create/open a new flowsheet on Linux due to SkiaSharp errors

From DWSIM - Chemical Process Simulator
Jump to: navigation, search

Synopsis

The new UI in DWSIM version 5 crashes when the user tries to open or create a new simulation.

Environment

DWSIM version 5 (new UI) running on Linux through Mono (all versions).

Analysis

The shipped native SkiaSharp doesn't work on your system.

Resolution

Install Git

sudo apt-get install git

Compile a native SkiaSharp library (libSkiaSharp.so) by yourself using this script and replace the one which ships with DWSIM, which will be located on the /usr/local/lib/dwsim/ directory. After compilation, you'll be able to find the newly created native library on the /home/Projects/SkiaSharp/native-builds/lib/linux/ directory.

External resources