LPCXpresso not using include paths

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPCXpresso not using include paths

ソリューションへジャンプ
935件の閲覧回数
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 解決策
821件の閲覧回数
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 返信
822件の閲覧回数
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 件の賞賛
返信