-
提示: |
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Dec 6, 2024
Replies: 1 comment 1 reply
-
应该是Windows 7 缺少DPIAware相关的接口,我们手边都没有Windows 7 的环境可以测试,你可以试下修改这行: https://github.com/Tencent/tgfx/blob/main/win/CMakeLists.txt#L27 里的 find_library(SHCORE_LIB SHCore) 为 find_library(SHCORE_LIB user32), 重新编译看看能否运行成功。这个问题是因为Demo里调用了DPIAware,自己写一个Demo不涉及这个API的话应该也不影响渲染。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我们在 #366 里修复了大量Windows平台demo的问题,更新到最新代码,应该可以正常运行了。