将头文件添加到C ++的eclipse构建路径 [英] Adding header files to eclipse build path for C++
问题描述
我正在尝试使用此功能: http://www.minixml.org/index.php
I'm trying to use this: http://www.minixml.org/index.php
我想让这些包含在Eclipse for Windows上工作。
I'd like to get these includes to work on Eclipse for Windows.
帮助我?
推荐答案
左键点击你的项目,选择属性
然后转到以下部分: C / C ++一般
,然后路径和符号
,然后选择包含
选项卡,在语言
列表中选择 GNU C ++
(或者是您的工具链当前)。现在,您可以在右侧看到 Add ...
按钮,单击它并提供包含include的目录的路径,例如: D :\Libraries\MiniXML\include
。不要忘记检查添加到所有配置
复选框。就这样,我们完成了。
Left-click your project and choose Properties
, then go to the following section: C/C++ General
, and then Paths and Symbols
, then select Includes
tab, in Languages
list choose GNU C++
(or whichever toolchain is your current). Now you can see Add...
button to the very right, click it and provide a path to the directory which contains includes, for example: D:\Libraries\MiniXML\include
. Don't forget to check the Add to all configurations
checkbox. That's it, we are done.
这篇关于将头文件添加到C ++的eclipse构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!