wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
24.51k stars 1.18k forks source link

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

Open hs80 opened 4 months ago

hs80 commented 4 months ago

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

ivila commented 4 months ago

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

leaanthony commented 4 months ago

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