The Linux cli works for me, but GUI is broken. I’ve been using gui_0.14.4 with no issues, gui_0.14.7 does this:
Unhandled exception. System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKObject’ threw an exception.
—> System.InvalidOperationException: The version of the native libSkiaSharp library (80.2) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.3, 81.0).
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Version minSupported, Version current, Boolean throwIfIncompatible)
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Boolean throwIfIncompatible)
at SkiaSharp.SKObject..cctor()
— End of inner exception stack trace —
at SkiaSharp.SKObject..ctor(IntPtr handle, Boolean owns)
at SkiaSharp.GRGlInterface..ctor(IntPtr h, Boolean owns)
at SkiaSharp.GRGlInterface.GetObject(IntPtr handle)
at SkiaSharp.GRGlInterface.CreateGles(GRGlGetProcedureAddressDelegate get)
at Avalonia.Skia.GlSkiaGpu..ctor(IPlatformOpenGlInterface openGl, Nullable`1 maxResourceBytes)
at Avalonia.Skia.PlatformRenderInterface..ctor(ISkiaGpu skiaGpu, Nullable`1 maxResourceBytes)
at Avalonia.Skia.SkiaPlatform.Initialize(SkiaOptions options)
at Avalonia.SkiaApplicationExtensions.c__0`1.b__0_0()
at Avalonia.Controls.AppBuilderBase`1.Setup()
at Avalonia.Controls.AppBuilderBase`1.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at Unmined.AvaloniaApp.Program.Main(String[] args)
Aborted (core dumped)
Hi,
The Linux cli works for me, but GUI is broken. I’ve been using gui_0.14.4 with no issues, gui_0.14.7 does this:
Unhandled exception. System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKObject’ threw an exception.
—> System.InvalidOperationException: The version of the native libSkiaSharp library (80.2) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.3, 81.0).
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Version minSupported, Version current, Boolean throwIfIncompatible)
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Boolean throwIfIncompatible)
at SkiaSharp.SKObject..cctor()
— End of inner exception stack trace —
at SkiaSharp.SKObject..ctor(IntPtr handle, Boolean owns)
at SkiaSharp.GRGlInterface..ctor(IntPtr h, Boolean owns)
at SkiaSharp.GRGlInterface.GetObject(IntPtr handle)
at SkiaSharp.GRGlInterface.CreateGles(GRGlGetProcedureAddressDelegate get)
at Avalonia.Skia.GlSkiaGpu..ctor(IPlatformOpenGlInterface openGl, Nullable`1 maxResourceBytes)
at Avalonia.Skia.PlatformRenderInterface..ctor(ISkiaGpu skiaGpu, Nullable`1 maxResourceBytes)
at Avalonia.Skia.SkiaPlatform.Initialize(SkiaOptions options)
at Avalonia.SkiaApplicationExtensions.c__0`1.b__0_0()
at Avalonia.Controls.AppBuilderBase`1.Setup()
at Avalonia.Controls.AppBuilderBase`1.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at Unmined.AvaloniaApp.Program.Main(String[] args)
Aborted (core dumped)
Fixed in 0.14.8.
Thank you!
That fixed it, thank you.