简体   繁体   English

如何添加包含路径到Eclipse项目(C ++,打开文件夹模式)

[英]How do add include path to Eclipse project (C++, open folder mode)

I created a project by opening an already existing folder. 我通过打开一个已经存在的文件夹创建了一个项目。 There are some include files I need to add, otherwise Eclipse won't find references. 我需要添加一些包含文件,否则Eclipse将找不到引用。 If I right-click on the folder, I don't see the usual option I would see with a regular project. 如果我右键单击该文件夹,则看不到常规项目会看到的通常选项。 Is there a way to tell Eclipse where to look for wrt include files? 有没有办法告诉Eclipse在哪里寻找wrt包含文件?

What do you see then if you do not see the usual option? 如果没有看到通常的选项,您会看到什么? There is also a way to set paths in eclipse preferences, not just the project preferences. 还有一种方法可以在Eclipse首选项中设置路径,而不仅仅是项目首选项。 Did you try it? 你试过了吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM