I use the gotk3 library, I followed the installation instructions: https://github.com/gotk3/gotk3/wiki/Installing-on-Windows

pkg-config --cflags --libs gtk+-3.0 gives the correct result.

I'm trying to build a test project and get the error:

 # github.com/gotk3/gotk3/glib In file included from ./glib.go.h:31:0, from D:\GOPATH\src\github.com\gotk3\gotk3\glib\application.go:7: C:/Fedora/include/glib-2.0/glib/gi18n.h:25:21: fatal error: libintl.h: No such file or directory #include <libintl.h> ^ compilation terminated. 

When I try to use go get github.com/gotk3/gotk3/gtk I get a similar error ... The very necessary file is in C:\Fedora\include

Where should this file lie to make the code work?

  • Maybe you should change the library to go-walk , gxui or ui ? - user227465
  • @GreenDragon could have been, but they have not been updated for a long time, one year, and the second since August ... was looking for what the community has and is developing ... - Visteras
  • Can the requirements of your specific task have already been implemented? See not what is updated more often, but what is there to solve the problem. - user227465
  • The <> characters indicate that your libintl.h should be among the system compiler folders (usually the include folder) - nick_n_a
  • one
    The compiler takes such files from its include folder, and not from the path. Read + customize compiler options (there is a section Include files directory). - nick_n_a

0