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

[V3]在32位系统上编译失败 #3462

Open
hs80 opened this issue May 8, 2024 · 2 comments
Open

[V3]在32位系统上编译失败 #3462

hs80 opened this issue May 8, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@hs80
Copy link

hs80 commented May 8, 2024

Description

在32位系统上安装v3版本后,运行wails3报错“panic: compileCallback: argument size is larger than uintptr”

To Reproduce

在32位系统上(或使用32为golang环境)安装v3版本后,运行wails3报错“panic: compileCallback: argument size is larger than uintptr”

换成64位环境编译386的程序,编译后无法启动

Expected behaviour

以上问题都能够正常运行

Screenshots

No response

Attempted Fixes

屏蔽v3/pkg/w32/idroptarget.go - 26行 init()中的代码后目前能够正常运行

System Details

# System
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Name              | Windows 10 Enterprise                                                                             |
| Version           | 2009 (Build: 22621)                                                                               |
| ID                | 22H2                                                                                              |
| Branding          | Windows 11 专业版                                                                                 |
| Platform          | windows                                                                                           |
| Architecture      | 386                                                                                               |
| Go WebView2Loader | true                                                                                              |
| WebView2 Version  | 124.0.2478.80                                                                                     |
| CPU               | Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz                                                          |
| GPU 1             | OrayIddDriver Device  - Driver: 17.1.58.818                                                             |
| GPU 2             | NVIDIA GeForce GT 730 (NVIDIA) - Driver: 30.0.14.7464                                             |
| GPU 3             | Intel(R) UHD Graphics 630 (Intel Corporation) - Driver: 30.0.101.1273                             |
| Memory            | 32GB                                                                                              |
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Build Environment
┌─────────────────────────────────────────────────────────┐
| Wails CLI    | v3.0.0-alpha.4                           |
| Go Version   | go1.22.2                                 |
| Revision     | 7661cd189ffac7196084b78ab87df8ec98c27519 |
| Modified     | true                                     |
| -buildmode   | exe                                      |
| -compiler    | gc                                       |
| CGO_CFLAGS   |                                          |
| CGO_CPPFLAGS |                                          |
| CGO_CXXFLAGS |                                          |
| CGO_ENABLED  | 1                                        |
| CGO_LDFLAGS  |                                          |
| GO386        | sse2                                     |
| GOARCH       | 386                                      |
| GOOS         | windows                                  |
| vcs          | git                                      |
| vcs.modified | true                                     |
| vcs.revision | 7661cd189ffac7196084b78ab87df8ec98c27519 |
| vcs.time     | 2024-05-07T22:27:38Z                     |
└─────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────┐
| npm  | 10.2.3             |
| NSIS | v3.09              |
└─ * - Optional Dependency ─┘

# Diagnosis
 SUCCESS  Your system is ready for Wails development!

Additional context

No response

@hs80 hs80 added the Bug Something isn't working label May 8, 2024
@ivila
Copy link

ivila commented May 8, 2024

@hs80 建议修改一下描述,遮盖一下公司的信息,国内有些商业化开发还是会关注这些隐私问题的。

@leaanthony
Copy link
Member

我们不支持32位的Windows,但会接受补丁来使其正常工作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants