[PD] Simple Compiling error on windows98

IOhannes m zmoelnig zmoelnig at iem.kug.ac.at
Fri Sep 21 16:00:00 CEST 2001

> andy chen wrote:
> Hi,  I am Andy.
> Please help.  I am having trouble compiling PD externs.  Right now, I
> am just in the initial stage and try to compile the foo1.c and foo2.c
> using nmake pd_nt.
> I first go to "c:\pd\doc\6.externs".  Then i set the path by
> PATH="progra~1\micros~3\vc98\bin\"   Then I type "nmake pd_nt".  And
> the following is my error message.  There is also a pop-up window
> message.
> C:\pd\doc\6.externs>PATH="\"
> C:\pd\doc\6.externs>nmake pd_nt
> "a required .dll file, MSPDB60.DLL was not found"  pop-up windows
> message
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>         cl /W3 /WX /DNT /DPD /nologo /I. /I\tcl\include /I\ftp\pd\src
> /I"C:\Prog
> ram Files\Microsoft Visual Studio\Vc98"\include /c foo1.c
> NMAKE : fatal error U1045: spawn failed : Invalid argument
> Stop.

hi andy....

1. you have to edit the makefile, so that the paths are right.
i guess "\ftp\pd\src" is *not* the path to your pd-src.

your PATH should point to the vc98/bin.
it might be a typo, but it seems that you set your PATH to point at
which might not be, what you want.
try to use full pathnames
(btw i would prefer to add the paths to your current PATH with somehting
like "PATH=c:\progra~1\micros~3\vc98\bin\:%PATH%")
to make it short:
you should execute the vc98vars.bat (or a similar name) in the
C:\progra~1\micros~3\vc98\bin\ directory.
if this does not work (like it is at my home-box), you might have to set

hope this helps.

i am still planning to add a "howto compile externals) to the


More information about the Pd-list mailing list