Hi, Iâm not sure if itâs the case in your application, but to build successfully a Gtk or Gtkmm application under MSVC and then run it perfectly, you need to bypass the main function of your application and redirect it to the WinAPI. In plus, you need to add Imm32.lib and msvcrt.lib as additional dependencies. Regards Marco Dos Santos Oliveira EBU/European Broadcasting Union Technology and Innovation Department From: gtkmm-list [mailto:gtkmm-list-bounces gnome org] On Behalf Of Doesnt Stop Yes, indeed, and the new incarnation of that template function already looks exactly like yours. Howerver, that does not explain why adding the gtkmm property sheet would cause std::streamstring to crash. I am now testing the library using GNU and Code::Blocks, but still, as soon as I add the gtkmm library, I get other errors. --- --- The settings->Compiler->Other Options are: gtkmm-2.4 --cflagas -mms-bitfields -Id:/gtkmm/include/gtkmm-2.4 -Id:/gtkmm/lib/gtkmm-2.4/include -Id:/gtkmm/include/atkmm-1.6 -Id:/gtkmm/include/giomm-2.4 -Id:/gtkmm/lib/giomm-2.4/include -Id:/gtkmm/include/pangomm-1.4 -Id:/gtkmm/lib/pangomm-1.4/include -Id:/gtkmm/include/gtk-2.0 -Id:/gtkmm/include/gdkmm-2.4 -Id:/gtkmm/lib/gdkmm-2.4/include -Id:/gtkmm/include/atk-1.0 -Id:/gtkmm/include/glibmm-2.4 -Id:/gtkmm/lib/glibmm-2.4/include -Id:/gtkmm/include/glib-2.0 -Id:/gtkmm/lib/glib-2.0/include -Id:/gtkmm/include/sigc++-2.0 -Id:/gtkmm/lib/sigc++-2.0/include -Id:/gtkmm/include/cairomm-1.0 -Id:/gtkmm/lib/cairomm-1.0/include -Id:/gtkmm/include/pango-1.0 -Id:/gtkmm/include/cairo -Id:/gtkmm/include -Id:/gtkmm/include/freetype2 -Id:/gtkmm/include/libpng14 -Id:/gtkmm/lib/gtk-2.0/include -Id:/gtkmm/include/gdk-pixbuf-2.0 and for the linker are: gtkmm-2.4 --libs -Ld:/gtkmm/lib -Lc:/devel/dist/win32/libpng-1.4.3-1/lib -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-win32-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng14 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl I feel like I am against the wall here, the errors are from the gtkmm libary and there is very little I can do about it. Any suggestions?
************************************************** |