-
Notifications
You must be signed in to change notification settings - Fork 10
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
failed to create texture from image #194
Comments
我的机器上是正常的,我再把那个库刷新一下,稍等一会 |
再试一波 |
或者清除构建缓存试试,实在不行我现在有空远程看看,或者让它在指定机器上复现。 |
我使用 go clean -modcache 清除了缓存重新构建,问题依然存在,但是我不方便远程
![image](https://github.com/user-attachments/assets/2a586c5c-f549-4c63-afbb-f9a4b677f57c)
![image](https://github.com/user-attachments/assets/17877c59-581c-4aab-a93c-c1e991a070e8)
Go版本 go version go1.23.4 windows/amd64
Windows版本 Windows10 22H2
|
再刷新下提交试试 |
就是工具栏图标加载失败是吧? |
所有图标除了windows窗口左上角的图标都加载失败
…________________________________
发件人: ddkwork ***@***.***>
发送时间: 2025年1月1日 21:49
收件人: HyperDbg/gui ***@***.***>
抄送: PCRepairMan ***@***.***>; Author ***@***.***>
主题: Re: [HyperDbg/gui] failed to create texture from image (Issue #194)
就是工具栏图标加载失败是吧?
―
Reply to this email directly, view it on GitHub<#194 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6NOE5Z7QIZHNQP436B7VWD2IPW5RAVCNFSM6AAAAABUOQKONCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRXGAYTOMRSGE>.
You are receiving this because you authored the thread.
|
go clean -modcache |
检查下图标目录,应该是有图片文件的,不会是漏了吧?不可能啊,一直以来都没有类似的问题 |
来试下这个在你机器上编译是否正常 |
这真是个悬而未决的问题,遗憾的是我无法在我的机器上复现它。那么你只能自己调试代码了。 |
PS D:\gui> go run github.com/ddkwork/ux/demo PS D:\gui> go get github.com/ddkwork/ux/demo 或者可能是go的版本问题吗,确实是个奇特的问题,麻烦你了 |
等我刷新一下 |
两个仓库都刷新了依赖,两个仓库都试一下最新提交,说不定两个都正常了。 |
应该不是go版本的问题,直接的原因可能是我使用工作区管理所有模块导致依赖刷新不同步造成的。 |
INF | 2025-01-01 | 18:40:06.316 | INF | 2025-01-01 | 18:40:06.316 | ERR | 2025-01-01 | 18:40:06.316 | failed to create texture from image
[github.com/ddkwork/unison.(*imageRef).contextImg] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/image.go:271
[github.com/ddkwork/unison.(*Canvas).DrawImageRectInRect] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/canvas.go:175
[github.com/ddkwork/unison.(*Canvas).DrawImageInRect] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/canvas.go:169
[github.com/ddkwork/unison.(*Image).DrawInRect] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/image.go:167
[github.com/ddkwork/unison.(*SizedDrawable).DrawInRect] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/drawable.go:36
[github.com/ddkwork/unison.DrawLabel] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/label.go:194
[github.com/ddkwork/unison.(*Button).DefaultDraw] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/button.go:202
[github.com/ddkwork/unison.(*Panel).Draw] C:/Users/admin/go/pkg/mod/github.com/ddkwork/[email protected]/panel.go:436
The text was updated successfully, but these errors were encountered: