[MMTK] netcdfmodule.h MMTK Windows Install Problem

William Browne irreflechi@hotmail.com
Sat, 28 Dec 2002 19:22:43 -0500


<html><div style='background-color:'><DIV>&nbsp;</DIV>
<DIV>I cannot seem to get MMTK to install on windows using MINGW32. When I try to build (setup.py build --compiler=mingw32) i get the error below.<BR><BR>running build_ext<BR>skipping 'lapack_mmtk' extension (up-to-date)<BR>building 'MMTK_DCD' extension<BR>C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IInclude "-IC:\Program Files\Python22\include" -c Src/MMTK_DCD.c -o build\temp.win32-2.2\Release\mmtk_dcd.o<BR>In file included from Src/MMTK_DCD.c:9:<BR>Include/MMTK/trajectory.h:13:37: Scientific/netcdfmodule.h: No such file or directory<BR>In file included from Src/MMTK_DCD.c:9:<BR>Include/MMTK/trajectory.h:37: parse error before "PyNetCDFFileObject"<BR>Include/MMTK/trajectory.h:37: warning: no semicolon at end of struct or union<BR>Include/MMTK/trajectory.h:38: warning: type defaults to `int' in declaration of `var_step'<BR>Include/MMTK/trajectory.h:38: warning: data definition has no type or storage class<BR>Include/MMTK/trajectory.h:49: `write' redeclared as different kind of symbol<BR>C:/MinGW/include/io.h:269: previous declaration of `write'<BR>Include/MMTK/trajectory.h:50: parse error before '}' token<BR>Include/MMTK/trajectory.h:50: warning: type defaults to `int' in declaration of `PyTrajectoryObject'<BR>Include/MMTK/trajectory.h:50: warning: data definition has no type or storage class<BR>Include/MMTK/universe.h:109: warning: `PyUniverse_API' defined but not used<BR>error: command 'gcc' failed with exit status 1</DIV>
<DIV>&nbsp; I cannot find netcdfmodule.h anywhere on my hard disk.&nbsp; I tried downloading and installing netcdf, but it doesn't seem to have the header either.&nbsp; Is it suppose to come with Scientific Python?&nbsp; Do I need to specify other parameters to setup.py?<BR>Please help.</DIV>
<DIV>software versions:<BR>Python 2.2.1<BR>SciPy-0.2.0_alpha_145.4426<BR>Mingw 2.0.0<BR>MMTK 2.2</DIV>
<DIV>thanks,<BR>WB<BR>Student @<BR>New College of Florida</DIV>
<DIV>&nbsp;</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMGEN/2015">3 months FREE*.</a> </html>