When I try to compile my project in MCUxpresso I get this message, even my file is present.
I have added two virtual folders and have included linked source files from another folder using drag drop method.
One folder is "source/BSP" and another is "source/COMMON_UTILS".
When a header file from BSP is included in some header in COMMON_UTILS it shows this error message. The headers are getting compiled when any file in the "source" folder includes it.
I am attaching screen shot of settings.
Hi Uday,
Please check that you have the folder included in Properties > C/C++ General > Paths and Symbols > Includes.
I hope this helps.
Have a great day,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello,
If you are willing to share your project I could take a quick look to it to find the root cause of this issue.
Best regards,
Felipe
Not sure if I understand the issue. But: you have to provide for the compiler the path where that header file is located (usually with the -I compiler option in the project settings).
I hope this helps,
Erich
Yes that time the source folder was created in the source as sub folder. Then I have tried creating BSP folder in the root of the project and sending screen shot which explains it all.
I observed that when I copy the file in the folder then it does not give error but when a link to file is added it gives error.
This screen shot makes it more clear
Rgds
Uday