On Thu, May 24, 2012 at 12:30 AM, <fltk-requ...@easysw.com> wrote:

> Send fltk mailing list submissions to
>        fltk@easysw.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.easysw.com/mailman/listinfo/fltk
> or, via email, send a message with subject or body 'help' to
>        fltk-requ...@easysw.com
>
> You can reach the person managing the list at
>        fltk-ow...@easysw.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fltk digest..."
>
>
> Today's Topics:
>
>   1. Re: FLTK X11 icon (Jacques senecal)
>   2. Floating point Exception (Rajesh Kumar)
>   3. Re: Floating point Exception (Greg Ercolano)
>   4. Re: Floating point Exception (MacArthur, Ian (SELEX GALILEO, UK))
>   5. How to use cmake with FLTK? (luke)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 May 2012 18:53:02 -0700
> From: Jacques senecal <senecalj...@yahoo.ca>
> Subject: Re: [fltk.general] FLTK X11 icon
> To: fltk@easysw.com
> Message-ID: <34949-fltk.gene...@news.easysw.com>
>
> > I have a sample code that crashes when the icon is loaded.
> > The icon is a multicolored icon of 32x32.
> >
> >
> > #include <fltk/x11.h>
> > #include <fltk/run.h>
> > #include <fltk/Window.h>
> > #include <X11/xpm.h>
> > #include "../icons/viewer.xpm"
> >
> > int main( int argc, char** argv )
> > {
> >
> >    fltk::Window window( 120, 220 );
> >
> >    fltk::open_display(); // needed if display has not been previously
> opened
> >
> >    Pixmap p, mask;
> >
> >    if ( XpmCreatePixmapFromData(fltk::xdisplay,
> >                               DefaultRootWindow(fltk::xdisplay),
> >                               viewer_xpm,
> >                               &p, &mask, NULL) == XpmSuccess )
> >    {
> >       // uncomment to crash program
> >       //window.icon((char *)p);
> >    }
> >
> >    window.show( );
> >    fltk::run();
> > }
> >
>
> window must be shown before setting the icon.
> Jacques Senecal.
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 23 May 2012 12:09:05 +0530
> From: Rajesh Kumar <thisiz...@gmail.com>
> Subject: [fltk.general] Floating point Exception
> To: "Mirror of fltk.general Newsgroup" <fltk@easysw.com>
> Message-ID:
>        <CAE5CmjukyrHyUoL6opZvmpXM0J6iO8hssgw=3xhw-z6qqkw...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi all,
>
>         When I clicked on a button twice am getting error floating point
> Exception and application got closed. Why it is happening????
>          In the callback of button am clearing clearing thr current window
> and opening another window.
>
>           Am using FLTK-1.3 and ARM processor based X11 linux environment.
>
> --
> *
> Thanks & Regards,
> Rajesh Kumar P
> *
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 23 May 2012 00:05:18 -0700
> From: Greg Ercolano <e...@seriss.com>
> Subject: Re: [fltk.general] Floating point Exception
> To: fltk@easysw.com
> Message-ID: <34951-fltk.gene...@news.easysw.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 05/22/12 23:39, Rajesh Kumar wrote:
> > Hi all,
> >
> >          When I clicked on a button twice am getting error floating point
> > Exception and application got closed. Why it is happening????
> >           In the callback of button am clearing clearing thr current
> window
> > and opening another window.
> >
> >            Am using FLTK-1.3 and ARM processor based X11 linux
> environment.
> >
>
>        No idea, need more details.
>
>        Try running the app in a debugger like gdb
>        to see where (what line) the float exception is happening.
>
>        Also: at least show us some code that demonstrates the problem.
>


  I am also getting same problem. When i clicked on a button ones at that
time  no errors and opening another window. but clicked on  twice am
getting error floating point  Exception.

>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 23 May 2012 09:47:33 +0000
> From: "MacArthur, Ian (SELEX GALILEO, UK)"
>        <ian.macart...@selexgalileo.com>
> Subject: Re: [fltk.general] Floating point Exception
> To: "Mirror of fltk.general Newsgroup" <fltk@easysw.com>
> Message-ID:
>        <
> f80974b6b555c74db31726e4419db18b190ec...@desmdswms001.des.grplnk.net>
> Content-Type: text/plain; charset="windows-1252"
>
>
> >          When I clicked on a button twice am getting error floating point
> > Exception and application got closed. Why it is happening????
> >           In the callback of button am clearing clearing thr current
> > window
> > and opening another window.
>
>
> No idea.
>
> Show us some minimal, compileable, code that exhibits the fault so that we
> can investigate.
>
>
> Probably closing the first window in the button callback is the problem,
> if that is what you are doing, since that may leave unreferenced widgets.
>
> This is discussed in the documents, including approaches that allow this
> to be done safely, so make sure you have followed that advice properly.
>
>
>
>
>
>
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex
> SS14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 23 May 2012 10:03:03 -0700
> From: luke <lhetr...@nnu.edu>
> Subject: [fltk.general] How to use cmake with FLTK?
> To: fltk@easysw.com
> Message-ID: <34953-fltk.gene...@news.easysw.com>
>
> I tried to follow the documentation page to install fltk on a unix system
> but when I tried to link fltk-1.3.0 with the latest
> InsightApplications-4.1.1 software. I kept getting some errors where the
> InsightApplications needs to know where FLTKConfig.cmake file is but that
> is only created when I use the cmake command compared to following the
> documentation page. But when I do a ccmake comand, I get stopped by errors
> when I run the make command. Has anyone else run into this problem?
>
> Luke H
>
>
> ------------------------------
>
> _______________________________________________
> fltk mailing list
> fltk@easysw.com
> http://lists.easysw.com/mailman/listinfo/fltk
>
>
> End of fltk Digest, Vol 100, Issue 22
> *************************************
>
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to