Re: Gtk::Stock::CLOSE



After rereading the outputs of your linker I saw that everything was ok.

This is normal if you use "-Wl,--enable-runtime-pseudo-reloc"
[SNIP]
Info: resolving Gtk::Stock::CLOSE by linking to __imp___ZN3Gtk5Stock5CLOSEE (auto-import) Info: resolving Gtk::Stock::HELP by linking to __imp___ZN3Gtk5Stock4HELPE (auto-import)
[/SNIP]

And how you can see
[SNIP]
Compilation successful
[/SNIP]

It was compiled successful. It should work now.


Jamiil schrieb:
This are the parameters I am using
-LC:/GnuWin32/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
-Wl,--enable-runtime-pseudo-reloc
-mwindows

and

-IC:/GnuWin32/include/gtkmm-2.4 -IC:/GnuWin32/lib/gtkmm-2.4/include -IC:/GnuWin32/include/glibmm-2.4 -IC:/GnuWin32/lib/glibmm-2.4/include -IC:/GnuWin32/include/gdkmm-2.4 -IC:/GnuWin32/lib/gdkmm-2.4/include -IC:/GnuWin32/include/pangomm-1.4 -IC:/GnuWin32/include/atkmm-1.6 -IC:/GnuWin32/include/gtk-2.0 -IC:/GnuWin32/include/sigc++-2.0 -IC:/GnuWin32/lib/sigc++-2.0/include -IC:/GnuWin32/include/glib-2.0 -IC:/GnuWin32/lib/glib-2.0/include -IC:/GnuWin32/lib/gtk-2.0/include -IC:/GnuWin32/include/pango-1.0 -IC:/GnuWin32/include/atk-1.0

Am I missing something?

Matthias Langer escribió:

On Tue, 2005-12-06 at 12:32 -0500, Jamiil wrote:
I hope someone here will be able to help me.
I have a program with two buttons; the buttons are supposed to display its correspoding icon for closing or help. Neither of the buttons display its corresponding icons, and although the porgram compiles I get the following message:
=================================================

Info: resolving Gtk::Stock::CLOSE by linking to __imp___ZN3Gtk5Stock5CLOSEE (auto-import) Info: resolving Gtk::Stock::HELP by linking to __imp___ZN3Gtk5Stock4HELPE (auto-import)

Execution terminated
Compilation successful
===================================================

This are the variables for the help button:

btnHelp->set_use_underline(true);
btnHelp->set_focus_on_click(true);
btnHelp->set_use_stock(true);
btnHelp->set_label("Question");
btnHelp->add_pixlabel("/icons/Question.ico","_Help");
btnHelp->signal_clicked().connect( sigc::mem_fun(*this, &Jaime::UnderDev) );

Any body?

What options did you pass to the linker ? I've never succesfully created
a working win32-gtkmm-app without Wl,--enable-runtime-pseudo-reloc.

By the way, there seems to be something wrong with stock-icons in win32,
as Gtk::Stock::NO does not work for me (failes at compile time - in
linux it works), but this is another problem.

Matthias

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





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