A
A
Anatoly Evladov2017-01-11 11:36:36
go
Anatoly Evladov, 2017-01-11 11:36:36

Windows: libintl.h not found but exists, how come?

I decided to try to use the gotk3 library on Go, followed all the installation instructions: https://github.com/gotk3/gotk3/wiki/Installing-on-...

pkg-config --cflags --libs gtk+-3.0
produces the correct result.
Although, to be honest, I didn’t figure out how exactly everything should look there in mingw, in the end I just created the necessary folders in Program Files and unzipped the downloaded archive there ... but apparently it’s not even really needed there ...
In any case, I’m trying to compile a test project and get the result:
# 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.

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

In general, any suggestions are accepted, I just don’t understand what’s wrong there ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question