[From nobody Tue Oct 24 04:08:36 2006 Message-ID: <453D8781.2050705@wi.rr.com> Date: Mon, 23 Oct 2006 22:24:49 -0500 From: Mike Wyatt <mwyatt@wi.rr.com> User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: pyrex@lists.copyleft.no Subject: Pyrex w/ MinGW Content-Type: multipart/alternative; boundary="------------060907010300080908010700" This is a multi-part message in MIME format. --------------060907010300080908010700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 . . . --------------060907010300080908010700 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial" size="-1"><font color="#0000ff">It's been a while since I installed Pyrex on my desktop, and I'm having some issues getting it working on my laptop.&nbsp; I followed these directions:<br> <br> <a href="http://wiki.python.org/moin/PyrexOnWindows">http://wiki.python.org/moin/PyrexOnWindows</a><br> <br> Below is the setup.py file used to build the extensions, and the result of running the script.&nbsp; Any thoughts on why I'm getting that error?<br> </font><br> <b>1) setup.py</b><br> <br> from distutils.core import setup <br> from distutils.extension import Extension<br> from Pyrex.Distutils import build_ext<br> <br> </font><font face="Arial" size="-1">setup(<br> &nbsp;&nbsp;&nbsp; name = "PyrexGuide",<br> &nbsp;&nbsp;&nbsp; ext_modules=[<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Extension("matrix", ["matrix.pyx"], library_dirs=["C:\\Program Files\\MinGW\\lib"], libraries=["opengl32"]),<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Extension("vector", ["vector.pyx"], library_dirs=["C:\\Program Files\\MinGW\\lib"], libraries=["GlU32"]),<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Extension("quaternion", ["quaternion.pyx"], library_dirs=["C:\\Program Files\\MinGW\\lib"])<br> &nbsp;&nbsp;&nbsp; ],<br> &nbsp;&nbsp;&nbsp; cmdclass = {'build_ext': build_ext}<br> )<br> </font><font face="Arial" size="-1"><br> <b>2)&nbsp; Running setup.py</b><br> C:\development\workspace\Math3D&gt;python.exe setup.py build_ext install<br> running build_ext<br> building 'matrix' extension<br> C:\Program Files\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall "-Ic:\program file<br> s\python24\include" "-Ic:\program files\python24\PC" -c matrix.c -o build\temp.w<br> in32-2.4\Release\matrix.o<br> gcc: matrix.c: No such file or directory<br> gcc: no input files<br> error: command 'gcc' failed with exit status 1<br> <br> C:\development\workspace\Math3D&gt;pause<br> Press any key to continue . . .<br> </font> </body> </html> --------------060907010300080908010700-- ]