本文介绍了在 Netbeans 7.0 中包含 C++ 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
我正在我的项目中尝试使用 这个库 (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.
- 选择 Build/C++ 编译器选项以添加 .h 文件的目录.
- 选择 Build/Linker 以添加 dll 文件的目录.
这篇关于在 Netbeans 7.0 中包含 C++ 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
The End


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)