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

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

问题描述

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:LibrariesMiniXMLinclude. Don't forget to check the Add to all configurations checkbox. That's it, we are done.

这篇关于将头文件添加到 C++ 的 Eclipse 构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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