unresolved inclusion

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

Hi,when i building , the Console tab display success .but, in main.c ,the IDE  cannot find where some .h file is referenced  and list it as a unresolved inclusion .

 

yoya_4785701_1-1650937604769.png

 

 

0 Likes
1 Solution
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

 

Hi @yoya_4785701 ,

This is an intelliSense issue. Can you please try the following:

1. Right click on the project >> Index >> Rebuild

2. Build the project

If the above did not resolve the issue can you also please try the below steps

  1. From the Project Explorer window, right-click on mtb_shared and select Delete. Do NOT select the check box Delete project contents on disk (if you do, you will have to regenerate it again).
  2. Select File > Import > C/C++ > Existing Code as Makefile Project and click Next >.
  3. Browse to the mtb_shared directory and click Select Folder.
  4. The Project Name will be filled in automatically.
  5. Select ARM Cross GCC for the toolchain and click Finish.

AlenAn14_1-1650955566788.png

  1. To get IntelliSense to work again for an application you must re-build it first.

Warm Regards
Alen

View solution in original post

0 Likes
1 Reply
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

 

Hi @yoya_4785701 ,

This is an intelliSense issue. Can you please try the following:

1. Right click on the project >> Index >> Rebuild

2. Build the project

If the above did not resolve the issue can you also please try the below steps

  1. From the Project Explorer window, right-click on mtb_shared and select Delete. Do NOT select the check box Delete project contents on disk (if you do, you will have to regenerate it again).
  2. Select File > Import > C/C++ > Existing Code as Makefile Project and click Next >.
  3. Browse to the mtb_shared directory and click Select Folder.
  4. The Project Name will be filled in automatically.
  5. Select ARM Cross GCC for the toolchain and click Finish.

AlenAn14_1-1650955566788.png

  1. To get IntelliSense to work again for an application you must re-build it first.

Warm Regards
Alen

0 Likes