Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个示例代码,我将使用 NSPR 库!我在 MS VC++ 上工作并使用 Visual Studio 2010。如何包含这些库并将其与 Windows 一起使用?
我的主要目标是使用NSPR实现线程同步
将此添加到您的代码中:
#pragma comment (lib, "nspr.lib");
或将其作为附加库添加到链接器设置中。编译后的 lib 文件也必须与项目的解决方案文件位于同一位置。