- Mon Jan 05, 2015 10:44 am
#6353
viktak wrote:First I did what you suggested, same result. Then I looked up my directory structure and found that the missing file is not in the location you showed, but in "/opt/Espressif/ESP8266_SDK/esp_iot_sdk_v0.9.3/include". Changing $PATH to include this, however, still produces the same error as in the original post.
I double checked if $PATH is correct, and it seems so:
Code: Select allviktor@Satellite-A300D /opt/Espressif/source-code-examples/blinky $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/Espressif/ESP8266_SDK/esp_iot_sdk_v0.9.3/include
And yes, I rebooted the computer every time I changed $PATH.
Any further ideas?
Don't confuse between $PATH (which is for binaries) and $INCLUDE (which is for includes of courses).
The $INCLUDE definition is somewhere in your Makefiles or batch scripts.
(BTW, all those mecanics are not related to ESP8266, but with any compilers, either GCC or others)