unresolved inclusion errors

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

unresolved inclusion errors

ソリューションへジャンプ
1,648件の閲覧回数
User1956
Contributor II

MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15]

SDK_2.x_MIMXRT1160-EVK: Version 2.1.0

EVK1160 PCB

 

When I build my project I get unresolved inclusion errors for "usb.h" and "fsl_aoi.h". I tried the Fixup Parsers tool but it did not seem to make any difference. What is the error suggesting? Is it saying those header files aren't found?

0 件の賞賛
1 解決策
1,613件の閲覧回数
User1956
Contributor II

Hi Erich,

So somehow in the configuration tool-peripheral tab a usb config was turned on. This generated usb libraries which called out the two I was missing. I just turned off those peripherals and now it is building fine. 

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,636件の閲覧回数
ErichStyger
Senior Contributor V

Hi @User1956 ,

just to be sure: you are able to compile it without errors, correct?

 

One needs to understand that building and indexing by the IDE are two different things. The indexer (a kind of parser inside the IDE with its database) scans the sources and parses the compiler options to find the files.

One thing you could try is to disable the heuristics and do a Index > rebuild, see https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/

See as well https://mcuoneclipse.com/2021/01/10/eclipse-indexer-debug-tips/ which shows the 'path and symbols': can you check if the path to the source files in question are listed there?

 

I hope this helps,

Erich

0 件の賞賛
1,614件の閲覧回数
User1956
Contributor II

Hi Erich,

So somehow in the configuration tool-peripheral tab a usb config was turned on. This generated usb libraries which called out the two I was missing. I just turned off those peripherals and now it is building fine. 

0 件の賞賛