Yes, Ubuntu 8.04 too. But i think adding .so can make the program runs.
Just (?) ask to specialist the specific problem of " undefined symbol: cairo_region_destroy " Thanks, Daniel. PS: I can almost try to generate gtkmm 3.0.1 for Ubuntu 10.04 and 8.04 and compile the program on both systems ... -----Message d'origine----- De : lecas malecas [mailto:[email protected]] Envoyé : mardi 14 février 2012 04:32 À : MONDON Daniel Cc : [email protected] Objet : Re: SplashScreen no cursor, timeout, top full screen, I don't think ubuntu 10.04 has gtkmm3, only gtkmm2. On Mon, Feb 13, 2012 at 5:13 PM, MONDON Daniel <[email protected]> wrote: > The program i do run as i want under ubuntu 11.10 (the machine i generate the > program, with gtkmm 3.0 ...). > > When i want to run under ubuntu 10.04 or 8.04, i've got the same error. > > "symbol lookup error: /usr/lib/libcairo-gobject.so.2: undefined symbol: > cairo_region_destroy" > > Of course, i have to install missing libs (ldd <my_program>) with ldconfig on > both ubuntus. > > Any idea :) ? > > Thanks > Daniel > > > >>-----Message d'origine----- >>De : [email protected] >>[mailto:[email protected]] De la part de MONDON Daniel >>Envoyé : mercredi 8 février 2012 17:36 À : Krzesimir Nowak Cc : >>[email protected] Objet : RE: SplashScreen no cursor, timeout, top >>full screen, >> >> >>With this example : >>http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/tim >>eout >> >>I put the Kjell's code in on_button_add_timer(). >>When i click, mouse cursor become invisible! :) >> >>As i need timeout, i will start from this sample program, adding what i need >>(image, full screen ... ). >> >>The remaining questions will be what libraries i need to run the program >>under Ubuntu 10.04 and 8.04 ... >> >>Thanks >>Daniel. > > > > -----Message d'origine----- > De : Krzesimir Nowak [mailto:[email protected]] Envoyé : mercredi 8 > février 2012 16:44 À : MONDON Daniel Cc : Kjell Ahlstedt; > [email protected] Objet : Re: SplashScreen no cursor, timeout, top > full screen, > > 2012/2/8 MONDON Daniel <[email protected]>: >> Effectively, gdk_window is NULL. >> > > Try calling Kjell's code in signal_realize [1] handler. At this point window > should be realized, i.e. it should have allocated GdkWindow. > There is a tutorial how to add custom signal handler. [2] > > [1] > http://developer.gnome.org/gtkmm/stable/classGtk_1_1Widget.html#a57525 > 266f890c9eb894ae00af141decf [2] > http://developer.gnome.org/gtkmm-tutorial/stable/sec-connecting-signal > -handlers.html.en > >> Thanks >> Daniel. >> >> >> -----Message d'origine----- >> De : Kjell Ahlstedt [mailto:[email protected]] >> Envoyé : mercredi 8 février 2012 15:52 À : MONDON Daniel Cc : >> [email protected] Objet : Re: SplashScreen no cursor, timeout, top >> full screen, >> >> I think this is a way to hide the cursor: >> >> Glib::RefPtr<Gdk::Window> gdk_window = fenetre.get_window(); if >> (gdk_window) >> gdk_window->set_cursor(Gdk::Cursor::create(Gdk::BLANK_CURSOR)); >> >> A possible complication is that Gtk::Widget::get_window() returns a >> Gdk::Window pointer only if the widget has been realized, and I don't know >> when exactly that's done. >> >> Kjell >> >> 2012-02-08 11:04, MONDON Daniel skrev: >>> Hello everybody! >>> >>> I'm new with gtkmm (my version is gtkmm 3.0), but i know i have to >>> use it because others applications are running with. >>> >>> I have to write a splash screen program : >>> - No mouse cursor >>> - Full screen >>> - Stay on Top >>> - With an execution TimeOut >>> - Eventually with IP connexion to be killed by program. >>> >>> In fact, i have to mask a java program and a flash application >>> during launch or change. >>> >>> One other parameter is to run under : >>> - ubuntu 8.04 (2.6.24 kernel - X V 1.4.0.90) (X86) >>> - ubuntu 10.04 (2.6.32 kernel - X V 1.7.6) (X86) >>> - Angstrom (2.6.39 kernel - X V1.11.1) (Arm) >>> >>> A different compiled program for Arm and X86, but i can almost have >>> 3 specifics program if necessary. >>> >>> >>> My first test program show the top full screen image, but i don't >>> succed masking the mouse cursor. >>> What i found make me think i'm not doing the right things: (cursor >>> functions) >>> >>> int main(int argc, char *argv[]) >>> { >>> Gtk::Main app(argc, argv); >>> >>> Gtk::Window fenetre; >>> >>> Gtk::Image image("/home/toto/GTKMM/fde.jpg"); >>> >>> fenetre.add(image); >>> fenetre.fullscreen(); >>> fenetre.set_keep_above(true); >>> >>> image.show(); >>> >>> Gtk::Main::run(fenetre); >>> >>> return 0; >>> } >>> >>> Thanks >>> Daniel. >>> >> >> _______________________________________________ >> gtkmm-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
