Hi. I am trying to build GLib standalone as a static library. There is a description for doing this with glib 2.45.3 - I download the source. However, I cannot find any setup.py in glib/build/win32 for either the version in question or some later versions.
A description of this file -
it’s like ./configure. For example, it copies config.h.win32 to config.h with replacing some substrings to real value (for example - @MAJOR_VERSION@ to concrete number) - without it visual studio can’t find config.h.
The problem was related to the vcpkg install and a strawberry perl install. I removed both vcpkg and perl (ld and objcopy was being picked up from the perl install) and it built fine - though with 352 warnings. As a tip to others, let glib download all the dependencies. Dont keep libintl, pcre or other required libs on your system.