问题描述
我想使用这个功能:
我想获得这些包括在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构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!