Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used platformio IDE

I did "platformio lib install 1101" (http://platformio.org/lib/show/1101/ESP8266wifi),

I installed this: http://platformio.org/lib/show/549/WebSockets (follow instructions)

I did similar things to other libraries.

When I click the platformio:build button, it still complains:

fatal error: ESP8266WiFi.h: No such file or directory fatal error:

ESP8266WiFiMulti.h: No such file or directory fatal error:

ESP8266Webserver.h: No such file or directory

share|improve this question

Make sure ESP8266WiFi.h, ESP8266WiFiMulti.h, ESP8266Webserver.h files are located in the same directory where your *.uno file present.

share|improve this answer
    
I symbolic link them. It seems getting over compiled errors. Do you know how I can install arduino into platformio ide? Currently, I git clone: github.com/esp8266/Arduino and symbolic link in my project. Not a good idea. – kenpeter May 3 at 4:15

Have you overridden lib_dir in platformio.ini? If yes, please remove it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.