On Feb 14, 12:02 am, MartinX <[email protected]> wrote: > On Feb 13, 12:42 pm, MartinX <[email protected]> wrote: >
> With the right setup.py script in place I have successfully compiled > my test prog. I will probably modify sage.misc.cython.py to do the job > for me. > > Martin Not sure what I did, but my previuos response is rubbish. Delving into the generated c file the incomplete type error is being generated against the field element class in mpc_complex.pxd. I managed to resolve the error by adding to the notebook script: from sage.structure.element cimport FieldElement I see FieldElement is a subclass of RingElement which is forward declared in element.pxd. IS this the reason why Cython needs the hint? -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
