Pedro, In the link command, put -o gtk_test.exe src\gtk_test.o at the beginning, like this:
g++ -o gtk_test.exe src\gtk_test.o -LC:/libs/gtkmm/lib -lgtkmm-2.4 -lgiomm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl Does it work now? Cheers, Sylvain. -- Sylvain Vedrenne http://sylvain.vedrenne.free.fr ----- Pedro Leite Rocha <pedro.leite.ro...@gmail.com> a écrit : > Hi Sylvain, > Thanks for the reply > > 2009/5/19 Sylvain Vedrenne <sylvain.vedre...@free.fr>: > > > > Hi Pedro, > > > > Have you tried the following (instead of C:/libs/gtkmm/lib) ? > > > > -LC:\libs\gtkmm\lib or probably better: > > -LC:\\libs\\gtkmm\\lib > > > > Does it work ? > > I've tried both the above as well as -L"C:\libs\gtkmm\lib", but they > all get the same undefined reference errors. :( > I don't think the directory is the problem. When I put an non-existent > directory I have a different error message: cannot find -lgtkmm-2.4. > > -- > []'s > Pedro > http://www.cs.nott.ac.uk/~plr/ > /\ ASCII Ribbon > \/ Campaign against > /\ HTML e-mail > / \ -- Sylvain Vedrenne http://sylvain.vedrenne.free.fr _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list