Added glib-2.0.lib as AdditionalDependencies in dispatcher.vcproj to resolve the error.
----- Original Message ---- From: john blair <[EMAIL PROTECTED]> To: Surya Kiran Gullapalli <[EMAIL PROTECTED]> Cc: [email protected] Sent: Monday, July 21, 2008 1:00:37 PM Subject: Re: Building glibmm-2.16.4 on windows Thanks. That error got resolved. But now getting Linking... dispatcher.obj : error LNK2019: unresolved external symbol _g_log referenced in function "public: virtual __thiscall `anonymous namespace'::ThreadProgress::~ThreadProgress(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) Debug/dispatcher.exe : fatal error LNK1120: 1 unresolved externals examples_dispatcher - 2 error(s), 1 warning(s) ----- Original Message ---- From: Surya Kiran Gullapalli <[EMAIL PROTECTED]> To: john blair <[EMAIL PROTECTED]> Sent: Monday, July 21, 2008 12:49:33 PM Subject: Re: Building glibmm-2.16.4 on windows If you're compiling on visual studio, include keyfile.cc and regex.cc files into the gtkmm project file. Surya On Tue, Jul 22, 2008 at 12:05 AM, john blair <[EMAIL PROTECTED]> wrote: 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 *)" ([EMAIL PROTECTED]@Glib@@CAXPAU_GError@@@Z) referenced in function "void __cdecl Glib::wrap_init(void)" ([EMAIL PROTECTED]@@YAXXZ) wrap_init.obj : error LNK2019: unresolved external symbol "private: static void __cdecl Glib::KeyFileError::throw_func(struct _GError *)" ([EMAIL PROTECTED]@Glib@@CAXPAU_GError@@@Z) referenced in function "void __cdecl Glib::wrap_init(void)" ([EMAIL PROTECTED]@@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? _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
