i am using Eclipse Yocto ADT plugin for application development.
I have created Yocto ADT Autotool project.
In the project i can use function of any file from "/opt/poky/1.8/sysroots/cortexa9hf-vpf-neon-poky-linux-gnueabi/user/include".
But i want to use files from other directory. so i add paths in "C/C++ General/Path and symbols/include directories".
Now function reference can be found by eclipse. I can also Jump to defination by F3.
But when i compile i get "fatal error: No file or directory"
So how to add other folder with no error?
Hello,
Looks like it is necessary to add include path in “C/C++ Build ->Settings -> ARM C compiler -> Includes”.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
In C/C++ Build ->Settings -> there is no option like ARM C compiler -> Includes. This is because i am using Eclipse Yocto ADT Autotool Project.
Please see attached image.
If i create Executable ANSI C project ARM C Compiler options will appear.
I am using Yocto ADT project because i don't need to add Cross compiler settings or environment variable. I am following the steps as per given in the Yocto Developer manual.
If i create Executable Project i need to add all Environment variable.
I have added SDK folder path as per snapshot below.
So whats the reason i am getting No files or directory error.?