a simple exemple don t compile !
- From: lordglub <lordglub gmail com>
- To: gtkmm-list gnome org
- Subject: a simple exemple don t compile !
- Date: Thu, 9 Oct 2008 20:14:24 -0700 (PDT)
Hello,
i have under fedora 8 (redhat gcc4.1.2-33)
i try compile this little program :
#include <gtkmm-2.4/gtkmm/main.h>
#include <gtkmm-2.4/gtkmm/window.h>
int main(int argc, char **argv)
{
Gtk::Main app(argc, argv);
Gtk::Window w;
app.run(w);
return 0;
}
librairy used to do this are ::
pkg-config --cflags --libs gtkmm-2.4
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo
-I/usr/include/atk-1.0 -I/usr/include/gtkmm-2.4
-I/usr/lib64/gtkmm-2.4/include -I/usr/include/glibmm-2.4
-I/usr/lib64/glibmm-2.4/include -I/usr/include/gdkmm-2.4
-I/usr/lib64/gdkmm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include -I/usr/lib64/gtk-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -L/usr/lib -lgtkmm-2.4
-lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0
-lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0
but i obtened the following message ::
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h: In static member
function ‘static bool
Glib::Container_Helpers::TypeTraits<bool>::to_cpp_type(gboolean*)’:
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:335: erreur: cast
from ‘gboolean*’ to ‘gint’ loses precision
i dont know wath is wrong ... missing libraire or ....
any idea ??
thanks
--
View this message in context: http://www.nabble.com/a-simple-exemple--don-t-compile--%21-tp19911169p19911169.html
Sent from the Gtkmm mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]