Re: help on python SWIG C++ extension

2008-09-17 Thread RLC
Thanks a lot, Tim and Diez, Merci Beaucoup!! I strongly suspect the error was caused by the memory operation. I made some modifications only on PolygonMesh definition. And now I have no annoying warnings. PolygonMesh *new_PolygonMesh() { PolygonMesh *p = new PolygonMesh; // p = (PolygonMesh *)

Re: help on python SWIG C++ extension

2008-09-16 Thread Tim Roberts
RLC <[EMAIL PROTECTED]> wrote: > >I am new to python SWIG. Recently I wrote a small program trying to >import collada files(using colladadom) into python so I could use >python cgkit to render them. However, during the progressing, I got >some problems. Every time I quit from Python, I get a segmen

Re: help on python SWIG C++ extension

2008-09-16 Thread Diez B. Roggisch
RLC schrieb: Hello I am new to python SWIG. Recently I wrote a small program trying to import collada files(using colladadom) into python so I could use python cgkit to render them. However, during the progressing, I got some problems. Every time I quit from Python, I get a segmentation fault, a