pyrex error

Bryan belred1 at yahoo.com
Sat Aug 2 07:35:29 CEST 2003


i'm having trouble building the pyrex demos.  i also can't compile a simple
hello word example.  i keep getting this '__pyx_f' unknown size error.
here's the error i'm getting when executing the following script.

i'm using vc 6.0 on windows xp
python 2.3

thanks,

bryan


------- setup.py

from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build_ext

setup(
  name = 'Demos',
  ext_modules=[
    Extension("primes",       ["primes.pyx"]),
    Extension("spam",         ["spam.pyx"]),
    Extension("numeric_demo", ["numeric_demo.pyx"]),
    ],
  cmdclass = {'build_ext': build_ext}
)

-------

C:\python\pyrex\Pyrex-0.8.2\Demos>setup build
running build
running build_ext
building 'primes' extension
C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD
/W3
/GX /DNDEBUG -IC:\python\python23\include -IC:\python\python23\PC
/Tcprimes.c /F
obuild\temp.win32-2.3\Release\primes.obj
primes.c
primes.c(27) : error C2133: '__pyx_f' : unknown size
error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
fail
ed with exit status 2






More information about the Python-list mailing list