[MMTK] Problems installing MMTK on Windows

Jochen Küpper jochen@jochen-kuepper.de
08 Apr 2002 15:33:46 -0400


On Mon, 8 Apr 2002 10:12:15 +0930 Michael Joseph Sorich wrote:

Michael> MinGW:
Michael> c:\MINGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWITH_DPMTA -DSERIAL -DVIRIAL
Michael> -
Michael> DMACROSCOPIC -IInclude -ISrc -ISrc/dpmta/src -ISrc/dpmta/mpole
Michael> -Ic:\progra~1\python21\Include 
Michael> -c Src/nonbonded.c -o build\temp.win32-2.1\Release\nonbonded.o
Michael> Src/nonbonded.c: In function `nblist_iterate':
Michael> Src/nonbonded.c:365: warning: control reaches end of non-void function
Michael> Src/nonbonded.c: In function `nonbonded_evaluator':
Michael> Src/nonbonded.c:603: warning: implicit declaration of function `erfc'
Michael> Src/nonbonded.c:651: `M_PI' undeclared (first use in this function)
Michael> Src/nonbonded.c:651: (Each undeclared identifier is reported only once
Michael> Src/nonbonded.c:651: for each function it appears in.)

[...]

Michael> error: command 'gcc' failed with exit status 1

That's the only error I see.  M_PI should be defined in math.h, maybe
you need to define a symbol? See (the equivalent of) /usr/include/math.h.

Greetings,
Jochen
-- 
University of North Carolina                       phone: +1-919-962-4403
Department of Chemistry                            phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)                    fax: +1-919-843-6041
Chapel Hill, NC 27599, USA                            GnuPG key: 44BCCD8E