LPCXpresso not using include paths

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPCXpresso not using include paths

跳至解决方案
1,671 次查看
charlesmanning
Contributor I

Hi

I am trying to compile a project that used to compile (yesterday). Since then I switched git  branches to work on a different version, then switched back.

I did a Project->Build Clean to rebuild the workspace, but one of the projects is getting a compilation error due to the include path not being found.

There are  5 different paths specified in the project Include paths dialog box, but only three are ending up as -Ixxx in the gcc command line.

It looks like whatever is generating the command lines is not refreshing them properly.

Anyone have ideas how to fix this?

Thanks

0 项奖励
回复
1 解答
1,557 次查看
charlesmanning
Contributor I

After lots of digging I found out what the problem was.

The includes dialog was pointing to some projects that were not in the workspace (they'd been dropped out of the workspace for some reason, though the files were still there).

Stupid Eclpise didn't complain - it just didn't generate the subdir.mk properly.

I clicked on the projects in the project explorer and then Eclipse did the right thing.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,558 次查看
charlesmanning
Contributor I

After lots of digging I found out what the problem was.

The includes dialog was pointing to some projects that were not in the workspace (they'd been dropped out of the workspace for some reason, though the files were still there).

Stupid Eclpise didn't complain - it just didn't generate the subdir.mk properly.

I clicked on the projects in the project explorer and then Eclipse did the right thing.

0 项奖励
回复