nilan wrote:
>  2)As you told i installed fltk 1.3.0 and unmerge previous 1.1.7 and then
>    compiled my program. it was ok up to compile.

>  3) i ran my newly compiled program and when i try to click on a any
>     Fl_input field in my GUI segmentation error occur.( still continuing)

        Do any of the fltk test programs work?

        Try going into the 'test' directory and run 'demo',
        and run the various widget programs.

        If those work, but your app does not, check to make
        sure you're compiling correctly, and rebuilding all
        your .o files. (eg. you don't want to try to link fltk.1.1.7
        .o files against fltk1.3.x)

>  4) then i tried to change my functions headings and return types via
>     fluid dialogues. but when i try to click on input fields of those
>     dialogues fluid unexpectedly exit giving segmentation error.

>  5) then i tried with your above steps,
>                      run fluids ----- OK
>                      New -> Code -> Class ----- fluid unexpectedly exit 
> giving segmentation error

        Are you sure you're running the fluid binary that came
        with the new version of fltk you have recently built?

        If it crashes just running fluid and choosing New>Code>Class,
        then something is fundamentally wrong, as I can't replicate that
        here on my fedora3 linux system.

        I would suggest trying these steps exactly, and seeing if you
        still have trouble.

        The following assumes the /usr/local/src directory exists,
        and that there is *not* a subdirectory called 'fltk-1.3.x-svn'.
        (if there is one, rename it to something else).

        Then run these exact commands:

cd /usr/local/src/
svn -r 6583 co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ 
fltk-1.3.x-svn
cd fltk-1.3.x-svn
./configure
make

        Then to run fluid, run:

./fluid/fluid

        I specified revision 6583 in the above SVN command just to make
        sure you're running the same release I am.

        If you still get a crash, it might be something unusual about
        your unix environment, in which case the more details you can
        give us about the processor/xwindows version/window manager
        environment, the better.

        Make sure your X windows "DISPLAY" environment variable is set
        to something like ":0.0", eg. if your shell is a bash shell:

                export DISPLAY=:0.0
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to