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

[BUG]执行完wails dev 输出错误,浏览器访问不显示界面 #362

Open
sugow opened this issue Sep 24, 2024 · 5 comments
Open

[BUG]执行完wails dev 输出错误,浏览器访问不显示界面 #362

sugow opened this issue Sep 24, 2024 · 5 comments

Comments

@sugow
Copy link

sugow commented Sep 24, 2024

Tiny RDM Version
What version of Tiny RDM are you using?

OS Version
Which OS and version you launch? (Mac/Windows/Linux)
Mac
Redis Version
Which version of Redis are you using?
默认git分支代码,没用tag版本包的代码
Describe the bug
A clear and concise description of what the bug is.

Steps to Reproduce:
正常按照md文档执行,到wails dev后,如下输出:

Done.
• Compiling application: # github.com/wailsapp/wails/v2/pkg/assetserver/webview
In file included from ../../gowork/pkg/mod/github.com/wailsapp/wails/[email protected]/pkg/assetserver/webview/request_darwin.go:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:93:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:802:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
uuid_string_t ext_jnl_uuid;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/device/device_types.h:89:33: note: 'io_string_t' declared here
typedef char io_string_t[512];
^
In file included from ../../gowork/pkg/mod/github.com/wailsapp/wails/[email protected]/pkg/assetserver/webview/request_darwin.go:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:93:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:804:20: error: use of undeclared identifier 'uuid_string_t'
char reserved[JIB_RESERVED_SIZE];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:795:61: note: expanded from macro 'JIB_RESERVED_SIZE'
#define JIB_RESERVED_SIZE ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
^
2 errors generated.

Build error - exit status 1

@tiny-craft
Copy link
Owner

是不是mac升级了系统,SDK和系统版本不一样。前几天群里有人遇到编译不过的问题

@sugow
Copy link
Author

sugow commented Sep 24, 2024

是不是mac升级了系统,SDK和系统版本不一样。前几天群里有人遇到编译不过的问题

升级过系统,当前系统: x86_64,版本: 14.5。是不是有点太新了?

@tiny-craft
Copy link
Owner

go版本是多少,升到最新看看行不行

@sugow
Copy link
Author

sugow commented Sep 25, 2024

go版本是多少,升到最新看看行不行

go版本是最新版的1.23.1。开始怀疑commandlinetools 这个工具之前的版本不行,卸载了。用命令 xcode-select --install 重新安装了 目前还是报。

@tiny-craft
Copy link
Owner

这个应该是wails的问题,你升到2.9.2看看有没有解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants