[Pyrex] Pyrex w/ MinGW
Mike Wyatt
mwyatt at wi.rr.com
Tue Oct 24 03:24:49 UTC 2006
It's been a while since I installed Pyrex on my desktop, and I'm having
some issues getting it working on my laptop. I followed these directions:
http://wiki.python.org/moin/PyrexOnWindows
Below is the setup.py file used to build the extensions, and the result
of running the script. Any thoughts on why I'm getting that error?
*1) setup.py*
from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build_ext
setup(
name = "PyrexGuide",
ext_modules=[
Extension("matrix", ["matrix.pyx"], library_dirs=["C:\\Program
Files\\MinGW\\lib"], libraries=["opengl32"]),
Extension("vector", ["vector.pyx"], library_dirs=["C:\\Program
Files\\MinGW\\lib"], libraries=["GlU32"]),
Extension("quaternion", ["quaternion.pyx"],
library_dirs=["C:\\Program Files\\MinGW\\lib"])
],
cmdclass = {'build_ext': build_ext}
)
*2) Running setup.py*
C:\development\workspace\Math3D>python.exe setup.py build_ext install
running build_ext
building 'matrix' extension
C:\Program Files\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
"-Ic:\program file
s\python24\include" "-Ic:\program files\python24\PC" -c matrix.c -o
build\temp.w
in32-2.4\Release\matrix.o
gcc: matrix.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
C:\development\workspace\Math3D>pause
Press any key to continue . . .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20061024/80f39163/attachment.html
More information about the Pyrex
mailing list