-
Notifications
You must be signed in to change notification settings - Fork 0
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
运行时,提示这个是方法不存在了么 #1
Comments
请问是在什么系统下构建的? |
MAC系统上面 |
我在本地构建是没问题的,用的是macos 10.15,gtk是2.14.33。看你构建命令好像是goland的构建命令吧?试下用make工具进行构建,在项目根目录下有Makefile的,具体命令: make buildMac |
go build -o DBTool-0_4_1-linux_amd64 -x -v ./ github.com/gotk3/gotk3/glibcgo-gcc-prolog:71:35: warning: 'g_binding_get_source' is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations] |
嗯嗯,我的打包环境是比较旧的,glib版本也是2.66的。估计就是这个版本间的问题,我更新下本地的环境再来试试复现你的问题吧 |
好的 谢谢您 希望可以用 |
通过brew,我本地的gtk+3已经升级到最新了。本地运行使用0.4.1没有复现你的问题。我本地的go是1.15版本的,升级到1.16也没复现出来。 |
Mac OS11.2.3. gtk+3. go1.16.2. 另外可以加个微 或者 Q么 |
我的系统没这么高,还是10.15。Q:326713510 |
/usr/local/go/bin/go build -o /private/var/folders/g4/_y6hyphn16l7rzfwpbznzjhm0000gn/T/___go_build_github_com_Casper_Mars_dbTool github.com/Casper-Mars/dbTool #gosetup
github.com/gotk3/gotk3/glib
cgo-gcc-prolog:71:35: warning: 'g_binding_get_source' is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/gobject/gbinding.h:111:1: note: 'g_binding_get_source' has been explicitly marked deprecated here
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gversionmacros.h:1047:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR'
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gmacros.h:1072:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gmacros.h:1040:44: note: expanded from macro 'G_DEPRECATED_FOR'
cgo-gcc-prolog:107:35: warning: 'g_binding_get_target' is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/gobject/gbinding.h:115:1: note: 'g_binding_get_target' has been explicitly marked deprecated here
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gversionmacros.h:1047:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR'
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gmacros.h:1072:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
/usr/local/Cellar/glib/2.68.0/include/glib-2.0/glib/gmacros.h:1040:44: note: expanded from macro 'G_DEPRECATED_FOR'
github.com/gotk3/gotk3/gtk
../../../go/pkg/mod/github.com/gotk3/[email protected]/gtk/accel.go:264:5: val.accel_flags undefined (type _Ctype_struct__GtkAccelKey has no field or method accel_flags)
../../../go/pkg/mod/github.com/gotk3/[email protected]/gtk/accel.go:273:22: obj.accel_flags undefined (type *_Ctype_struct__GtkAccelKey has no field or method accel_flags)
The text was updated successfully, but these errors were encountered: