This might be a bit late for you, but I managed to get NDI output on Windows working without the NDI plugin (at least the sample code you provided) by
-
placing the Processing.NDI.Lib.x64.dll into the ProjectName>Binaries>Win64 folder,
-
Creating folders ProjectName>ThirdParty>NDI that has an Include folder containing all of the Processing.* headers provided by the SDK, and a lib folder which contains the Processing.NDI.Lib.x64.lib provided by the SDK (though these could both be wherever you want I suppose, so long as you have their path in the build.cs below)
-
Modifying the project’s build.cs located inside of the source folder so that it includes the lines :
string depFolder = "C:/Path/To/Project/ProjectName/ThirdParty/NDI";
PublicIncludePaths.Add(Path.Combine(depFolder, "Include"));
PublicAdditionalLibraries.Add(Path.Combine(depFolder, "lib/x64/Processing.NDI.Lib.x64.lib"));
Hope this helps!
Edit: to use the Path.Combine functions, I believe you’d need to including using System and using System.IO at the top of your build.cs