I am exporting a Gtk application to Windows. For various reasons I require to use the MSVC compiler instead of MSYS2, so I had to compile glib and glibmm, between others, from source.
I compiled both glib and glibmm and linked them to the application succesfully. However, it seems a file named “unicode.h” is missing from glibmm:
glibmm/ustring.h(21): fatal error C1083: Non è possibile aprire il file inclusione: 'glibmm/unicode.h': No such file or directory
I checked to see if it was a problem of mine or maybe I had forgotten to enable some build flag. However, nowhere in the glibmm repository I found a file named “unicode.h”. I found in glib (C) a file named “gunicode.h”, is it that? If so, why is glibmm trying to include “glibmm/unicode.h”?
The compiler command-line is missing the include paths for glibmm, which should be "-IC:\Users\PC-AITOR\Documents\deps\out\include\glibmm-2.68" and "-IC:\Users\PC-AITOR\Documents\deps\out\lib\glibmm-2.68\include". Can you post the output of meson setup?
In the git repository there is glibmm/glib/src/unicode.hg.
If you build from a git clone, glib/glibmm/unicode.h is a generated file
in the build directory. Tarballs contain generated source files, among them
untracked/glib/glibmm/unicode.h. glibmm/variant.h is also a generated file.