Building a Gtkmm apllication with Visual Studio 2010 Express



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?


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