Eclipse 在工程中包含的头文件的Index问题
2017-01-02 10:09
204 查看
如题,有的头文件 在工程中包含。里边的宏不会对代码的显示起作用,不能用跳转,很麻烦。
可以设置包含进来。如下。
If you see that the eclipse has the files that should be included in your build grayed out, then follow the next steps:
1) Go to Window -> Preferences -> Indexer -> In the build configuration for the indexer select the "Use active build configuration".
2) Go to the project that you are having trouble with and right click Index -> Freshen all files.
3) Also via right click on the project select again the active build for your project (it doens't matter if you select the same).
Most of the times the problem is the Indexer of the eclipse that causes a lot of confusion when building a project.
可以设置包含进来。如下。
If you see that the eclipse has the files that should be included in your build grayed out, then follow the next steps:
1) Go to Window -> Preferences -> Indexer -> In the build configuration for the indexer select the "Use active build configuration".
2) Go to the project that you are having trouble with and right click Index -> Freshen all files.
3) Also via right click on the project select again the active build for your project (it doens't matter if you select the same).
Most of the times the problem is the Indexer of the eclipse that causes a lot of confusion when building a project.
相关文章推荐
- (上一篇的问题解决后又遇到的新问题)在eclipse中导入工程后运行任意文件出现"The selection is not within a valid module"
- 在Eclipse中新建Android工程后出错的问题
- vc中将文件夹中的头文件包含到工程中
- Eclipse中java工程中引用dll库的路径设置 && System.loadLibrary()调用Dll路径问题
- Android+eclipse环境打开已有工程,遇到Invalid project description 问题【转】
- 防止重复包含头文件的问题
- Eclipse中,Flex工程不编译,编译后不发布的问题
- JWFDv0.96二次开发包导入ECLIPSE工程JAR包路径问题
- 解决eclipse开发的android工程在linux上编译不过的@Override问题
- Eclipse工程不能加载maven的repository的jar包问题
- Ubuntu 9.10下 Eclipse 新建Java工程按扭无反应问题
- Eclipse中编译Android工程时出现的问题解决方法。
- 解决eclipse安装maven的问题:Unable to update index for central|http://repo1.maven.org/maven2
- JWFDv0.96二次开发包导入ECLIPSE工程JAR包路径问题
- 大工程Eclipse内存不足问题的解决
- 关于在工程中多次包含库文件引发的问题
- 关于Eclipse中工程关联依赖的部署配置问题
- 解决Eclipse中Java工程间循环引用而报错的问题
- eclipse中导入工程遇到的问题
- 包含arxHeader.h的工程中调用了标准fstream, sstream, iosteam等引发链接问题的解决方案