Skip to content

[Bug] Linux运行报错~ #94

@omni-system-creator

Description

@omni-system-creator
	<PackageReference Include="ViewFaceCore" Version="0.3.8" />
	<PackageReference Include="ViewFaceCore.all_models" Version="6.0.7" />
	<PackageReference Include="ViewFaceCore.Extension.SkiaSharp" Version="0.3.7" />

linux用的这个
PackageReference Include="ViewFaceCore.runtime.linux.arm64" Version="6.0.7" />
PackageReference Include="ViewFaceCore.runtime.ubuntu.20.04.x64" Version="6.0.7" />

windows用的这个
PackageReference Include="ViewFaceCore.runtime.win.x64" Version="6.0.7" />

Windows运行正常,但是Linux运行报错:

ERR
【消息】System.TypeInitializationException: The type initializer for 'SkiaSharp.SKData' threw an exception.
---> System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception.
---> System.InvalidOperationException: The version of the native libSkiaSharp library (88.0) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [88.1, 89.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.SKData..cctor()
--- End of inner exception stack trace ---
at SkiaSharp.SKBitmap.Decode(ReadOnlySpan`1 buffer)
at SkiaSharp.SKBitmap.Decode(Byte[] buffer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug / 漏洞Something isn't working / 不能正常运作

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions