"Error 126 loading external jit.viddll.engine" in Windows Standalone (on some machines...)
Apr 29 2020 | 1:02 pm
As I've gotten to fight a long time with this problem, and I've just figured out a solution, I write it here to help other people having a similar issue !
PROBLEM : When I build standalones for Windows of some of my patches doing video processing, it happens that they work on some machines and not on others. Investigating this issue, I've discovered that there is a problem in Max Console saying "Error 126 loading external jit.viddll.engine" (and some other error 126 for other video externals) when I launch the standalone.
In fact, the problem is that these externals (included in Max distribution) are developed on Visual Studio and rely on some DLL (but the error 126 doesn't give this explanation).
SOLUTION : All you have to do is to add msvcp120.dll and msvcr120.dll in the same folder as your standalone.
The attached DLL are working for Max 8.1 (64 bits version). With other versions of Max, you may have to use other versions of the DLL...
PS : it would be nice that Cycling74 developers find a way to include theses files automatically on standalone build.