Open sugow opened 2 months ago
是不是mac升级了系统,SDK和系统版本不一样。前几天群里有人遇到编译不过的问题
是不是mac升级了系统,SDK和系统版本不一样。前几天群里有人遇到编译不过的问题
升级过系统,当前系统: x86_64,版本: 14.5。是不是有点太新了?
go版本是多少,升到最新看看行不行
go版本是多少,升到最新看看行不行
go版本是最新版的1.23.1。开始怀疑commandlinetools 这个工具之前的版本不行,卸载了。用命令 xcode-select --install 重新安装了 目前还是报。
这个应该是wails的问题,你升到2.9.2
看看有没有解决
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