我正在我的项目中尝试使用 这个库 (RollPlay) 但我没有知道如何将它包含在我的 Netbeans C++ 项目中.我只是将 .dll 和 .h 文件添加到项目文件夹中,将文件添加到项目中吗?我是 Netbeans 的新手并使用非内置库.
I'm trying the use this library (RollPlay) in my project but I don't know how to include it in my C++ project in Netbeans. Would I just add the .dll and .h files into the project folder, add the files to the project? I'm new to Netbeans and using non built-in libraries.
库通常驻留在其自己的安装目录中,因此您需要将 NB 指向该位置.如果您在项目"窗口中右键单击项目名称,您将有一个属性选项.
A library would normally reside in its own installation directory so you would need to point NB to where that is. If you right-click the project name in the "Projects" window, you'll have a Properties option.
这篇关于在 Netbeans 7.0 中包含 C++ 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!