将头文件添加到 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.
相关文章