Folowing the advice found in: https://live.gnome.org/gtkmm/MSWindows/UsingMSVC I created a small app to test gtkmm outside GCC, well, even with the help from the webpage above I get this error: 1>------ Build started: Project: MyApp, Configuration: Debug Win32 ------ 1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup 1>{DRIVE}\myDir\dev\MyApp\Debug\MyApp.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Code ==== stdafx.h ~~~~~ #ifndef MY_APP #define MY_APP #define WIN32_MEAN_AND_LEAN #include <iostream> #include <gtkmm.h> #endif //MY_APP -------------------
main.h ~~~~ int main(int argc, char* argv[]){ Gtk::Main kit(argc, argv); Gtk::Window app; Gtk::Main::run(app); return 0; }
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list