ESP8266 Example Code Problems

I am trying to build code to do UDP transfers with a ESP8266. I have not found a single example that will build. First, queue.h isn’t found. So I installed the tools/sdk tree. It still cannot find queue.h unless I copy it into the folder that has the ESP8266 driver. Thenn the build blows up on things like #include . What is that??? I’ve even tried installing the latest IDE (1.8.9) with no luck. Needless to say, I’m getting frustrated. How are people building these examples?

It sounds like you don't have the right board selected in the Tools menu, or you don't have the ESP8266 Arduino Core installed.

Pieter