Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skiko 兼容性问题 #2

Closed
cssxsh opened this issue Jun 3, 2022 · 2 comments
Closed

skiko 兼容性问题 #2

cssxsh opened this issue Jun 3, 2022 · 2 comments

Comments

@cssxsh
Copy link
Owner

cssxsh commented Jun 3, 2022

v1.1.4 版本已解决兼容性问题,不再需要额外配置

Windows 7 / Windows Server 2013 / Termux 下运行请 添加
-Dxyz.cssxsh.mirai.skia.version=0.7.23 java 运行参数以提升 skiko 库版本。

mcl.bat 启动为例

@echo off
set JAVA_BINARY=java
%JAVA_BINARY% -Dxyz.cssxsh.mirai.skia.version=0.7.12 -jar mcl.jar %*

Linux 下运行出现以下错误则需要安装 GLIBC_2.28

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found 
@cssxsh cssxsh added this to 😎 in Mirai Plugin Jun 3, 2022
@cssxsh cssxsh pinned this issue Jun 3, 2022
@cssxsh
Copy link
Owner Author

cssxsh commented Jun 17, 2022

skiko-0.7.20skiko-0.7.12 多了个 api-ms-win-shcore-scaling-l1-1-1.dll 依赖
这个依赖来自 Microsoft Visual C++ Redistributable Package

skiko-0.7.12 的依赖

Microsoft (R) COFF/PE Dumper Version 14.29.30141.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file D:\Users\CSSXSH\IdeaProjects\mirai-skia-plugin\run\skiko-0.7.12-windows-x64.dll

File Type: DLL

  Image has the following dependencies:

    ADVAPI32.dll
    GDI32.dll
    dwmapi.dll
    OPENGL32.dll
    USER32.dll
    KERNEL32.dll

  Summary

        1000 .00cfg
       1E000 .data
        3000 .idata
       93000 .pdata
      27D000 .rdata
       16000 .reloc
      C5C000 .text
        1000 .tls
        1000 _RDATA

skiko-0.7.20 的依赖

Microsoft (R) COFF/PE Dumper Version 14.29.30141.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file D:\Users\CSSXSH\IdeaProjects\mirai-skia-plugin\run\skiko-0.7.20-windows-x64.dll

File Type: DLL

  Image has the following dependencies:

    ADVAPI32.dll
    GDI32.dll
    dwmapi.dll
    OPENGL32.dll
    api-ms-win-shcore-scaling-l1-1-1.dll
    USER32.dll
    KERNEL32.dll

  Summary

        1000 .00cfg
       1E000 .data
        3000 .idata
       93000 .pdata
      27E000 .rdata
       16000 .reloc
      C5E000 .text
        1000 .tls
        1000 _RDATA

@cssxsh
Copy link
Owner Author

cssxsh commented Jul 10, 2022

diff 0.7.12 to 0.7.13 for windows
skiko/src/jvmMain/cpp/windows/drawlayer.cc

@cssxsh cssxsh unpinned this issue Jul 11, 2022
@cssxsh cssxsh closed this as completed Jul 11, 2022
Mirai Plugin automation moved this from 😎 to 👌 Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👌
Development

No branches or pull requests

1 participant