PyInline problem

Duncan Smith buzzard at urubu.freeserve.co.uk
Wed Dec 5 18:04:33 EST 2001


"Andrew Dalke" <dalke at dalkescientific.com> wrote in message
news:9um2m4$3pb$1 at nntp9.atl.mindspring.net...
> Duncan Smith:
> >The following does not build.
> >
> >import PyInline
> >
> >m = PyInline.build(code="""
> >    #include <system.h>
> >    #include <stlib.h>
>                ^^^^^ stdlib?
>

Yes, sorry again.  I keep posting stuff that won't build for some obvious
reason.  I have tried building it without the include files and failed.  But
then I have closed Python, opened it up, tried again, and it's built.  I
have built it with #include  <stdlib.h>, but have always failed when I also
have #include <system.h>.  I'll get there in the end, I just hate the trial
and error / close Python/open Python routine.  Just like many moons ago,
before I discovered reload(module).:-)

Duncan

>                     Andrew
>                     dalke at dalkescientific.com
>
>
>





More information about the Python-list mailing list