博客参考:https://github.com/nodejs/node/issues/23909
错误如下
LNK2005 _SSL_CTX_check_private_key already defined in ssleay32.
Since NodeJS is providing all of its own dependencies, you can add a property to your MSBuild projects that will totally disable vcpkg's integration:
<PropertyGroup> <VcpkgEnabled>false</VcpkgEnabled> </PropertyGroup>
ProjectName.vcproj中添加如上属性即可