New Project can't find standard C libraries

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

New Project can't find standard C libraries

ソリューションへジャンプ
3,865件の閲覧回数
luke_ludington
Contributor II

I created a new project in MCUxpresso and on build the include statements for the standard C libraries come back unresolved. Other includes in the include path work.

ラベル(1)
1 解決策
3,219件の閲覧回数
luke_ludington
Contributor II

I found a solution to this problem. I recreated the project as a C project and it now works (before it was configured as a C Static Library) Thanks for all your help ErichS

元の投稿で解決策を見る

10 返答(返信)
3,220件の閲覧回数
luke_ludington
Contributor II

I found a solution to this problem. I recreated the project as a C project and it now works (before it was configured as a C Static Library) Thanks for all your help ErichS

3,219件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Luke,

thanks for reporting back on this! Glad to hear that it works now.

Erich

0 件の賞賛
返信
3,219件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

What version of MCUXpresso IDE are you using? v11.0.0 provides a fix for this issue:

 MCUXpresso IDE v11.0.0 Now Available 

Fixed issue with IDE losing C library include paths. This did not prevent projects from building but meant that indexer-related functionality reliant on these paths would not work correctly (for instance trying to open a C library include file from the editor). This issue could also cause Newlib projects to sometimes appear to be using Redlib include files.
Note: Existing projects can be "fixed" using Tools->Fixup Parsers option on the Project Properties view's context sensitive menu

Regards,

MCUXpresso IDE Support

0 件の賞賛
返信
3,219件の閲覧回数
luke_ludington
Contributor II

Just downloaded v11 and set up my project and it still isn't working.

0 件の賞賛
返信
3,218件の閲覧回数
BlackNight
NXP Employee
NXP Employee

this is what helped for my projects:

1) right-click on the project and use Tools > Fixup Parsers

pastedImage_1.png

2) checking the Paths and Symbols for the project and removing any references to the IDE or previous IDE installation:

pastedImage_2.png

3) Checking that there is an 'MCU GCC Built-In Compiler parser' present pointing to the Include folders in the IDE:

pastedImage_3.png

4) Doing a Index rebuild on the project:

pastedImage_4.png

I hope this helps,

Erich

3,218件の閲覧回数
luke_ludington
Contributor II

The MCU GCC Built-In Compiler parser doesn't show up how do I add it?

0 件の賞賛
返信
3,218件の閲覧回数
BlackNight
NXP Employee
NXP Employee

it should get added with the menu Tools > Fixup Parsers

can you retry?

0 件の賞賛
返信
3,218件の閲覧回数
luke_ludington
Contributor II

pastedImage_3.png

I can't seem to delete these references to the IDE, I tried your given process a few times. Thanks for all of your quick responses so far.

0 件の賞賛
返信
3,218件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Strange.

This is what I had: I selected the item pointing to 10.3.1 and used the 'Delete' button.

pastedImage_1.png

This is not possible for you (you did not share the state of the button)? Or what do you get (error message?).

Erich

0 件の賞賛
返信
3,218件の閲覧回数
luke_ludington
Contributor II

Yeah the delete button is greyed out and the delete key does nothing

0 件の賞賛
返信