Hello Thomas,
I am facing some problems compiling your vst-external: you write in the readme.txt to edit the vst.dsp-file: no matter what I edit (pathnames, flags ..) opening the file with MSVC6 states, that the file was not gererated by MSVC. I managed after some editing in the makefile.msvc to compile a vst~.dll getting the following output:
C:\PD\vst>build-pd-msvc.bat --- Building with MS Visual C++ ---
C:\PD\vst>nmake -f makefile.pd-msvc clean
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
del /q pd-msvc > nul
rmdir pd-msvc > nul
C:\PD\vst>nmake -f makefile.pd-msvc
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
mkdir pd-msvc > nul
cl /c /LD /GR- /GX- /GD /G6 /Ox /DPD /DNT /I"c:\program
files\microsoft visual studio\VC98\include" /I"c:\pd\src" /I"c:\pd\flext" src\main.cpp /Fopd-msv c\main.obj Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer x86 Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.
main.cpp cl /c /LD /GR- /GX- /GD /G6 /Ox /DPD /DNT /I"c:\program files\microsoft visual studio\VC98\include" /I"c:\pd\src" /I"c:\pd\flext" src\EditorThread.cpp / Fopd-msvc\EditorThread.obj Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer x86 Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.
EditorThread.cpp cl /c /LD /GR- /GX- /GD /G6 /Ox /DPD /DNT /I"c:\program files\microsoft visual studio\VC98\include" /I"c:\pd\src" /I"c:\pd\flext" src\PopupWindow.cpp /F opd-msvc\PopupWindow.obj Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer x86 Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.
PopupWindow.cpp cl /c /LD /GR- /GX- /GD /G6 /Ox /DPD /DNT /I"c:\program files\microsoft visual studio\VC98\include" /I"c:\pd\src" /I"c:\pd\flext" src\VstHost.cpp /Fopd- msvc\VstHost.obj Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer x86 Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.
VstHost.cpp cl /c /LD /GR- /GX- /GD /G6 /Ox /DPD /DNT /I"c:\program files\microsoft visual studio\VC98\include" /I"c:\pd\src" /I"c:\pd\flext" src\StdAfx.cpp /Fopd-m svc\StdAfx.obj Optimierender Microsoft (R) 32-Bit C/C++-Compiler, Version 12.00.8804, fuer x86 Copyright (C) Microsoft Corp 1984-1998. Alle Rechte vorbehalten.
StdAfx.cpp cd pd-msvc link /DLL /out:vst~.dll /INCREMENTAL:NO main.obj EditorThread.obj PopupW indow.obj VstHost.obj StdAfx.obj pd.lib flext-pdwin.lib /LIBPATH:"c:\program fil es\microsoft visual studio\VC98\lib" /LIBPATH:"c:\pd\bin" /LIBPATH:"c:\pd\flext"
Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Bibliothek vst~.lib und Objekt vst~.exp wird erstellt
LINK : warning LNK4098: Standardbibliothek "LIBC" steht in Konflikt mit anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden LINK : warning LNK4089: Alle Verweise auf "ADVAPI32.dll" wurden durch /OPT:REF verworfen LINK : warning LNK4089: Alle Verweise auf "OLEAUT32.dll" wurden durch /OPT:REF verworfen LINK : warning LNK4089: Alle Verweise auf "comdlg32.dll" wurden durch /OPT:REF verworfen cd ..
I can load vst~.dll, but it apparently doesn't do anything besides routing audio through on right channel only. Do you have any suggestions what cold be wrong? Why don't you include your *.dsw-file to the cvs? Wouldn't that help? I actually had problems with some of your makefiles of other externals (on windows) too, but somehow managed to get them running. Greetings, Michael
Michael Iber
http://www.iberspace.de mailto:mail@iber-online.de