You are not specific about the version that was previously installed - if it was reasonably recent and worked and you are just replacing opencpn.exe you should definitely not see these errors - at least if you also compile against redistributable 2008sp1...
But as your info is not very exact, all I can suggest is the obvious, which we've learned during the time. Until now every time we've seen these errors, they were related to MSVC redistributable. Sometimes to insufficient user rights to install it properly, sometimes to antivirus software
used. Always impossible to reproduce by any of the developers.