Menu

#50 error of program

open
nobody
None
5
2006-08-09
2006-08-09
Anonymous
No

hi

i am new to gts library.
i am trying to run program example program getting
error access voilation.
pls help me.

rashmi

Discussion

  • Nobody/Anonymous

    program file

     
  • David Manura

    David Manura - 2006-12-10

    Logged In: YES
    user_id=850909
    Originator: NO

    Rashmi,

    This worked for me, but I don't know what input you are using.

    It looks like all you did was convert the GTS delaunay.c example to a C++ program and removed some code from it. This looks ok. You did fail to initialize fifo below, but this function is never called anyway in your code.

    static void split_constraint (GtsConstraint * c, gpointer * data)
    {
    - GtsSurface * s = data[0];
    - GtsFifo * fifo = data[1];
    + GtsSurface * s = GTS_SURFACE(data[0]);
    +
    + GtsFifo * fifo ;
    +

    gts_constraint_split (c, s, fifo);
    }

     

Log in to post a comment.

MongoDB Logo MongoDB