Hi Daniel,
I installed successfully DWSIM 6.0 update 2 but whenever try to create a new steady state simulation I get this error:
"The type initializer for 'SkiaSharp.SKTypeface' threw an exception."
I found this in Details:
"System.TypeInitializationException: The type initializer for 'SkiaSharp.SKTypeface' threw an exception. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'sk_typeface_ref_default' in DLL 'libSkiaSharp'.
at SkiaSharp.SkiaApi.sk_typeface_ref_default()
at SkiaSharp.SKTypeface..cctor()
--- End of inner exception stack trace ---
at SkiaSharp.SKTypeface.FromFamilyName(String familyName, SKTypefaceStyle style)
at DWSIM.Drawing.SkiaSharp.GraphicsSurface..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Drawing.SkiaSharp\GraphicsSurface\DesignSurface.vb:line 67
at DWSIM.FlowsheetSurfaceControl..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM\Forms\Flowsheet Components\FlowsheetSurface_SkiaSharp\FlowsheetSurfaceControl.vb:line 10
at DWSIM.FlowsheetSurface_SkiaSharp..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM\Forms\Flowsheet Components\FlowsheetSurface_SkiaSharp\FlowsheetSurface_SkiaSharp.vb:line 35
at DWSIM.FormFlowsheet..ctor() in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM\Forms\Flowsheet\FormFlowsheet.vb:line 75
at DWSIM.FormMain.NewToolStripButton_Click(Object sender, EventArgs e) in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM\Forms\Main Window\FormMain.vb:line 3392
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"
Sorry if my ticket is too long, I just tried to specify my problem.
Kind regards,
Patrik Molnár
Hi
I get exactlly the same message as above. I can't open old files either
Would appreciate your help
Kid regards
DEryck
Dear Deryck,
I did not find yet the cause of the problem (unfortunately)
Hi guys, are you running DWSIM on Windows, Linux or macOS?
Hi Daniel
I'm using Windows 10
Same problem here, Windows 10 64
Thank you, update worked
I am using Win8.1 64-bit OS.
I used this sourceforge site to download and install software (not github and zip file).
Hi guys, please download and install again:
64-bit: https://sourceforge.net/projects/dwsim/files/DWSIM/DWSIM%206.0/Update%202/DWSIM_bin_v6u2_setup_win7win8win10_64bit.exe/download
32-bit: https://sourceforge.net/projects/dwsim/files/DWSIM/DWSIM%206.0/Update%202/DWSIM_bin_v6u2_setup_win7win8win10_32bit.exe/download
Daniel, the new download fixed the problem for me. Thanks.
Thank you Daniel. It is fixed now. I appreciate your quick response.
Best regards
Deryck