All looks like you don't link against necessary libraries. What I would do is to try to grep dot lib files for these (like Main@Gtk@@UAE@XZ) names. I don't know what version of GTKMM you are trying to use but for instance I have this symbol in gtkmm-3.0-vc90-d.lib . Yours may be named differently. Make sure that you link against such library. Pay attention to build type i.e. debug (-d) or release (no extra suffix).
I'm not on win32 at the moment but here is what I have for gtkmm 3. mlt@nb:~$ grep -rsli 'main@gtk@@uae@xz' /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/CMakeFiles/gtkmm-3.0.dir/main.cc.obj /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm-3.0-vc90-d.dll /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm-3.0-vc90-d.exp /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm-3.0-vc90-d.ilk /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm-3.0-vc90-d.lib /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm-3.0-vc90-d.pdb /media/SAMSUNG/obs/build/gtkmm/gtk/gtkmm/gtkmm.def Mikhail On 08/13/2011 04:24 PM, MERT TUGCU wrote: > All day long (about 10 hours!) I have been trying to build "Hello > World" but no success. Now I installed Windows SDK 7.1 Added the > property pages as instructed! Now I am getting again linker errors: > > 1>------ Build started: Project: CountPeople, Configuration: Debug > Win32 ------ > 1>CountPeople.obj : error LNK2019: unresolved external symbol "public: > virtual __thiscall Gtk::Main::~Main(void)" (??1Main@Gtk@@UAE@XZ) > referenced in function _main > 1>CountPeople.obj : error LNK2019: unresolved external symbol "public: > static void __cdecl Gtk::Main::run(class Gtk::Window &)" > (?run@Main@Gtk@@SAXAAVWindow@2@@Z) referenced in function _main > 1>CountPeople.obj : error LNK2019: unresolved external symbol "public: > __thiscall Gtk::Window::Window(enum Gtk::WindowType)" > (??0Window@Gtk@@QAE@W4WindowType@1@@Z) referenced in function _main > 1>CountPeople.obj : error LNK2019: unresolved external symbol "public: > __thiscall Gtk::Main::Main(int &,char * * &,bool)" > (??0Main@Gtk@@QAE@AAHAAPAPAD_N@Z) referenced in function _main > 1>CountPeople.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall > sigc::trackable::~trackable(void)" (__imp_??1trackable@sigc@@QAE@XZ) > referenced in function "public: void __thiscall Gtk::Window::`vbase > destructor'(void)" (??_DWindow@Gtk@@QAEXXZ) > 1>CountPeople.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) protected: virtual __thiscall > Glib::ObjectBase::~ObjectBase(void)" > (__imp_??1ObjectBase@Glib@@MAE@XZ) referenced in function "public: > void __thiscall Gtk::Window::`vbase destructor'(void)" > (??_DWindow@Gtk@@QAEXXZ) > 1>CountPeople.obj : error LNK2019: unresolved external symbol "public: > virtual __thiscall Gtk::Window::~Window(void)" (??1Window@Gtk@@UAE@XZ) > referenced in function "public: void __thiscall Gtk::Window::`vbase > destructor'(void)" (??_DWindow@Gtk@@QAEXXZ) > 1>stdafx.obj : error LNK2019: unresolved external symbol "public: > __thiscall Glib::ustring::ustring(char const *)" > (??0ustring@Glib@@QAE@PBD@Z) referenced in function "void __cdecl > Gtk::`dynamic initializer for 'PAPER_NAME_A3''(void)" > (??__EPAPER_NAME_A3@Gtk@@YAXXZ) > 1>stdafx.obj : error LNK2019: unresolved external symbol "public: > __thiscall Glib::ustring::~ustring(void)" (??1ustring@Glib@@QAE@XZ) > referenced in function "void __cdecl Gtk::`dynamic atexit destructor > for 'PAPER_NAME_A3''(void)" (??__FPAPER_NAME_A3@Gtk@@YAXXZ) > 1>C:\Projects\CountPeople\Debug\CountPeople.exe : fatal error LNK1120: > 9 unresolved externals > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped > ========== > > What am I doing wrong here? Can someone please guide me? > > > _______________________________________________ > 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
