so i tried what many of you have done, and just tried to get the foo1 makefile to work. foo1 and foo2 compile fine, but dspobj~ doesn't compile. here's my slightly modified version of miller's makefile (just the NT part), and the error message is "unresolved external symbol dspobj~_setup" ...
# ----------------------- NT -----------------------
pd_nt: foo1.dll foo2.dll azi2degree.dll ele2degree.dll dspobj~.dll
.SUFFIXES: .dll
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo VC=D:\MVS\Vc98 PC=I:\pdforwindows
PDNTINCLUDE = /I. /I\I:\pdforwindows\tcl\include /I\I:\pdforwindows\pd\src /I$(VC)\include
PDNTLDIR = $(VC)\lib PDNTLIB = $(PDNTLDIR)\libc.lib \ $(PDNTLDIR)\oldnames.lib \ $(PDNTLDIR)\kernel32.lib \ $(PC)\bin\pd.lib
.c.dll: $(VC)\bin\cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c $(VC)\bin\link /dll /export:$*_setup $*.obj $(PDNTLIB)
so i tried what many of you have done, and just tried to get the foo1 makefile to work. foo1 and foo2 compile fine, but dspobj~ doesn't compile. here's my slightly modified version of miller's makefile (just the NT part), and the error message is "unresolved external symbol dspobj~_setup"
...
Hi, this is really trivial and it has nothing to do with VC++. A ~ is not allowed on exported names and PD needs dspobj_tilde_setup in this case anyway. So try to change the corresponding line in your makefile
$(VC)\bin\link /dll /export:$*_setup $*.obj $(PDNTLIB)
to
$(VC)\bin\link /dll /export:dspobj_tilde_setup $*.obj $(PDNTLIB)
and run nmake again.
greetings, Thomas