try to build your go module on windows (it build the branch master which use standard gtkTextView fine (without sourceview feature of course - that means everything for building gotk3 on windows does work)
The build errors with message
stevek@vbox-win8 MINGW64 /c/Users/stevek/Downloads/gnote
$ go get -u github.com/linuxerwang/sourceview3
# github.com/gotk3/gotk3/glib
cgo-gcc-prolog: In function '_cgo_3ba2a421f28b_Cfunc_g_binding_get_source':
cgo-gcc-prolog:71:2: warning: 'g_binding_get_source' is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
In file included from C:/tools/msys64/mingw64/include/glib-2.0/glib-object.h:22,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/gioenums.h:28,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/giotypes.h:28,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/gio.h:26,
from ..\..\go\pkg\mod\github.com\gotk3\gotk3@v0.5.3-0.20210223154815-289cfb6dbf32\glib\gbinding.go:3:
C:/tools/msys64/mingw64/include/glib-2.0/gobject/gbinding.h:112:23: note: declared here
112 | GObject * g_binding_get_source (GBinding *binding);
| ^~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function '_cgo_3ba2a421f28b_Cfunc_g_binding_get_target':
cgo-gcc-prolog:107:2: warning: 'g_binding_get_target' is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
In file included from C:/tools/msys64/mingw64/include/glib-2.0/glib-object.h:22,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/gioenums.h:28,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/giotypes.h:28,
from C:/tools/msys64/mingw64/include/glib-2.0/gio/gio.h:26,
from ..\..\go\pkg\mod\github.com\gotk3\gotk3@v0.5.3-0.20210223154815-289cfb6dbf32\glib\gbinding.go:3:
C:/tools/msys64/mingw64/include/glib-2.0/gobject/gbinding.h:116:23: note: declared here
116 | GObject * g_binding_get_target (GBinding *binding);
| ^~~~~~~~~~~~~~~~~~~~
# github.com/linuxerwang/sourceview3
..\..\go\pkg\mod\github.com\linuxerwang\sourceview3@v0.0.0-20200530202158-9184b497454e\sourceview.go:244:8: could not determine kind of name for C.free
Hi there, I am trying to build the module for windows using msys2, so what I did is:
stevek@vbox-win8 MINGW64 /c/Users/stevek/Downloads/gnote