I have been struggling with this issue for longer then I care to admit. I followed the directions to install the toolchain from the page:
with the toolchain:
When I attempt to build an application I am getting the following error message:
/usr/local/arm/arm-linux-gnueabihf/include/c++/5.2.1/arm-linux-gnueabihf/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory compilation terminated.
I looked at the include search and saw several entries like:
ignoring nonexistent directory “/usr/local/arm/bin/…/arm-linux-gnueabihf/libc/usr/local/include/arm-linux-gnueabihf”
I tried to follow this path and it breaks because the path:
/usr/local/arm/…/arm-linux-gnueabihf/libc only has the directory arm-linux-gnueabihf and no directory usr. the directory arm-linux-gnueabihf does have the directory usr.
if the nonexistent directory were:
"/usr/local/arm/bin/…/arm-linux-gnueabihf/libc/arm-linux-gnueabihf/usr/local/include/arm-linux-gnueabihf" instead of
then it would find the features.h include. This error is replicated in several other nonexistent directory error messages.
What could I be doing to cause this?
Thanks for your help.