Re: Building glibmm-2.16.4 on windows



BTW glibmm, cairomm, perhaps others, I did not try, could not be compiled using VS 2005 Express.
Solution will not open without modification. Also pre-link step not correctly configured.
If file path to gendef tool contains spaces then pre-link step will not run. File path should
be taked in quotes.

On Tue, Jul 22, 2008 at 1:27 AM, john blair <mailtome200420032002 yahoo com> wrote:

Added glib-2.0.lib as AdditionalDependencies in dispatcher.vcproj to resolve the error.

----- Original Message ----
From: john blair <mailtome200420032002 yahoo com>
To: Surya Kiran Gullapalli <suryakiran gullapalli gmail com>
Cc: gtkmm-list gnome org
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)" (??1ThreadProgress ?A0xa5c2bf9b@@UAE XZ)
Debug/dispatcher.exe : fatal error LNK1120: 1 unresolved externals
examples_dispatcher - 2 error(s), 1 warning(s)

----- Original Message ----
From: Surya Kiran Gullapalli <suryakiran gullapalli gmail com>
To: john blair <mailtome200420032002 yahoo com>
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 <mailtome200420032002 yahoo com> 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 *)" (?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?


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]