tiny-craft / tiny-rdm

Tiny RDM (Tiny Redis Desktop Manager) - A modern, colorful, super lightweight Redis GUI client for Mac, Windows, and Linux.
https://redis.tinycraft.cc/
GNU General Public License v3.0
8.91k stars 452 forks source link

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

Open sugow opened 2 months ago

sugow commented 2 months ago

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/v2@v2.9.2/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/v2@v2.9.2/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 commented 2 months ago

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

sugow commented 2 months ago

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

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

tiny-craft commented 2 months ago

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

sugow commented 2 months ago

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

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

tiny-craft commented 2 months ago

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