To be more precise :
Spat (5.2 and higher) still requires DLL to work.
These DLLs are located in the /support folder.
This folder is automatically searched by Max, assuming you put spat5 into the Packages folder, which is my recommendation.
All instructions should be up to date here :
I have installed visual studio.
You dont need to “install visual studio”. But you might need to install the “Visual C++ Redistributable Packages for Visual Studio 2019” (which is not the same)
But this does not solve the problem
I dont know what the problem is.
Is it okay to use the old dependencies?
No. You need the new DLLs files located in the /support folder.
Putting the dll files (all of them) inside my documents > max 8 > packages did the trick for me. However this is not a great permanent solution because I want to be able to run the patch as a standalone. Therefore, it would be much better if spat could find the dependencies when they are located in the root executable folder. Aside from this inconvenience, I am very happy about the size reduction for spat5 on Windows.
MuBu and Spat are totally separated projects, so problems are un-related.
However, it is very likely that MuBu also requires the “Visual C++ Redistributable Packages for Visual Studio 2019”. So, you should really try to do that first.
When you build a standalone named “Foo”, you need to put all the necessary DLLs in the same folder as the generated “Foo.exe”.
I believe the “Include File…” strategy (build script) mentioned by @smalllotus should work. Otherwise I just manually copy the files, and that works well.
The “Visual C++ Redistributable Packages for Visual Studio 2019” have to be installed on the “client” computer (computer(s) where the Foo.exe standalone will be executed).