I recently ran into a problem when building a plug-in from source that uses a 3rd party library, the issue turned out to be the library was built using VS2017 and I was building with VS2015, here is an article that discusses the issue.
https://developercommunity.visualstu…g-stdreve.html
Hopefully this will help anyone else experiencing a similar problem!