Hi,
I am trying to build glibmm-2.16.4 on windows 32 bit. It gives me the following error :
Creating library Release\glibmm-2.4.lib and object Release\glibmm-2.4.exp
wrap_init.obj : error LNK2019: unresolved external symbol "private: static void __cdecl Glib::RegexError::throw_func(struct _GError *)" (?throw_func RegexError@Glib@@CAXPAU_GError@@@Z) referenced in function "void __cdecl Glib::wrap_init(void)" (?wrap_init Glib@@YAXXZ)
wrap_init.obj : error LNK2019: unresolved external symbol "private: static void __cdecl Glib::KeyFileError::throw_func(struct _GError *)" (?throw_func KeyFileError@Glib@@CAXPAU_GError@@@Z) referenced in function "void __cdecl Glib::wrap_init(void)" (?wrap_init Glib@@YAXXZ)
Release\glibmm-2.4.dll : fatal error LNK1120: 2
unresolved externals
But if I comment the lines
Glib::Error::register_domain(g_key_file_error_quark(), &Glib::KeyFileError::throw_func);
and
Glib::Error::register_domain(g_regex_error_quark(), &Glib::RegexError::throw_func);
in
wrap_init.cc, the build goes fine.
Can someone help me in resolving this error?