简体   繁体   English

如何在VS2015中使用Mozilla网络安全服务(NSS)

[英]How to use Mozilla Network Security Services(NSS) in VS2015

I want use functions from Mozilla Network Security Services , but I didn't find how to work with them from Visual Studio 2015 . 我想使用Mozilla Network Security Services的功能 ,但是我没有从Visual Studio 2015中找到如何使用它们的功能。

I downloaded it from here , but I get an error when I try to build it: 我是从这里下载的,但是在尝试构建它时出现错误:

Not found 'types.h' 找不到'types.h'

(I searched for the file in the project folder and it does not exist) (我在项目文件夹中搜索了文件,但该文件不存在)

How to can use NSS in VS2015? 如何在VS2015中使用NSS?

You need to put the location of the library's header files into your project properties. 您需要将库头文件的位置放入项目属性中。 You probably also need to specify the directory where the library's .lib files are, in case it uses precompiled libs. 如果它使用预编译的库,则可能还需要指定库的.lib文件所在的目录。

Right-click the project, select Properties and enter the path to the library's header directory here: 右键单击项目,选择“ 属性” ,然后在此处输入库标题目录的路径:

VS 2015属性-VC ++目录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM