将头文件添加到C ++的Eclipse构建路径 [英] Adding header files to eclipse build path for C++

查看:639
本文介绍了将头文件添加到C ++的Eclipse构建路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用这个功能: http://www.minixml.org/index.php

我想获得这些包括在Eclipse for Windows上工作。



有人可以帮助我吗? p>

解决方案

左键单击您的项目并选择属性,然后转到以下部分: C / C ++常规,然后路径和符号,然后选择 code>选项卡,在语言列表中选择 GNU C ++ (或任何工具链是您的当前)。现在你可以看到 Add ... 按钮,点击它,并提供一个包含include的目录的路径,例如: D :\Libraries\MiniXML\include 。不要忘记检查添加到所有配置复选框。就是这样,我们完成了。


I'm trying to use this: http://www.minixml.org/index.php

I'd like to get these includes to work on Eclipse for Windows.

Can anybody help me?

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆