Hello,
I would like to build the simple "Hello World" application with Visual Studio
2010 Express. I followed the instructions at
http://live.gnome.org/gtkmm/MSWindows/UsingMSVC
I also added the MSVC file to the property page of the project. However, I
haven't installed Platform SDK for Windows 7 yet. For the moment it is huge to
download. Is it necessary to download and install it?
Here are the errors after I complied the project:
1>------ Build started: Project: CountPeople, Configuration: Debug Win32 ------
1> CountPeople.cpp
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 ==========
Am I getting this linking errors because of not installing Platform SDK or of
something else?
Thanks in advance!
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list