[gtkmm] linker errors (gtkmm-2.2 on MSVC++ .net 2003)



Hello.

I get a huge lot of linker warnings and errors, that seem to have to do with
std::string.

I followed the README file that came with the project files available at bugzilla
(attachment id 18902).

I setup the path to the libraries and double checked it.

If anybody has an idea, please let me know.

Best regards,

DJ

---------- Additional information follows ----------

Additional dependencies:

gtkmm.lib
gdkmm.lib
glibmm.lib
atkmm.lib
pangomm.lib
sigc-1.2.lib
atk-1.0.lib
gdk_pixbuf-2.0.lib
gdk-win32-2.0.lib
glib-2.0.lib
gmodule-2.0.lib
gobject-2.0.lib
gthread-2.0.lib
gtk-win32-2.0.lib
iconv.lib
intl.lib
libjpeg.lib
libpng.lib
libtiff.lib
libz.lib
pango-1.0.lib
pangoft2-1.0.lib
pangowin32-1.0.lib
winmm.lib

Here are two sample linker errors:

msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string DU?$char_traits@D std@@V?$allocator D@2@@std@@QAE XZ)
already defined in main.obj

msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string DU?$char_traits@D std@@V?$allocator D@2@@std@@QAE ABV01@@Z)
already defined in MainWindow.obj

Here are three sample warnings:

pangomm.lib(glyphstring.obj) : warning LNK4049: locally defined symbol ??0bad_cast@@QAE PBD@Z
(public: __thiscall bad_cast::bad_cast(char const *)) imported

atkmm.lib(action.obj) : warning LNK4049: locally defined symbol ??0bad_cast@@QAE PBD@Z
(public: __thiscall bad_cast::bad_cast(char const *)) imported

gdkmm.lib(region.obj) : warning LNK4049: locally defined symbol ??0bad_cast@@QAE PBD@Z
(public: __thiscall bad_cast::bad_cast(char const *)) imported



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