Do plugins need Visual Studio redistributable?


#1

I’m distributing a plugin that seems to work for a majority of users, but mysteriously fails for others. I’m just using the default build settings created by Juce for VS2015.

Do I need to bundle the Visual Studio redistributable to be sure my plugin will work for all users? Thanks for any help!


[Beginner] Will my JUCE plugin .dll work on other computers?
Plugin doesn't show up in Vienna Ensemble Pro 6 on Windows
Projucer's VS 2015 export compile can't run on Win7 and Win8
VST doesn't work on fresh Win 10 install. Works after Win update. [SOLVED]
#2

That depends on your runtime library setting. This can be checked here:

project -> properties -> configuration properties -> C/C++ -> code generation -> runtime library

MT* statically links the C runtime, thus users do not have to have the redistributable installed. MD* requires the redistributable installed, conversively. I’m not sure what juce-generated projects set this value to, however I suppose it sets it to MT*.


#3

In the Introjucer / Projucer, there is an option called “Runtime Library”, you must select “static runtime” so you don’t need the Visual Studio Redistribuable anymore


[FIXED] VST: Win7 ok. Win10 works once, then crashes
#4

Hmm, thanks for the info. Juce does indeed set \MT by default, I will try \MD and see if that helps the user I have who can’t load the plugin…


#5

For Windows XP and VS 2015, there are also other things to do :