jinzhongmin

Results 3 issues of jinzhongmin

root@debian:~/workspace/gotk4# ~/go/bin/gir_generate -o ./pkg/ 2022/02/21 13:31:19 error adding package "gdk-pixbuf-2.0": failed to add file "/usr/share/gir-1.0/GLib-2.0.gir": colliding namespace GLib, got v2.0, add v2.0

path\pkg\mod\github.com\notedit\[email protected]/gst.c:248: undefined reference to `g_memdup2' collect2.exe: error: ld returned 1 exit status \# github.com/notedit/gst gst.c: In function 'X_gst_app_src_push_buffer': gst.c:248:16: warning: implicit declaration of function 'g_memdup2'; did you mean 'g_memdup'? [-Wimplicit-function-declaration]...

c functions should be prefixed. I ran into a naming conflict with other libraries. ## Description ``` bash D:\Program\Go\root\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1 D:/Program/Msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/Program/Msys2/mingw64/bin/../lib/libgdi32.a(libgdi32s00803.o):(.text+0x0): multiple definition of...