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="progra~1\micros~3\vc98\bin"
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.
Andy have you tried compiling the externs with VC++ rather than using the make files, I also had this problem so rather than get totally frustrated I just compiled them in VC++, actually I think it's better to compile them this way because you also get an understanding of the whole process of creating objects! let me know if you need any help with the compiling process!
regards, Rory.
Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
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....
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
c:\pd\doc\6.externs\progra~1\micros~3\vc98\bin
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
PATH, LIB, INCLUDE by hand.
hope this helps.
i am still planning to add a "howto compile externals) to the externals-howt....
mfg.cds.asdrt IOhannes