Cannot complie sucessfully

I have the ESP8266 WiFi Module ESP-12E and have been trying to upload the sketch for the DS18B20 temp sensor without success. I am using the Arduino IDE. The Dallas Temp sensor library is there as is the Onewire library. When I attempt to compile the sketch I receive the error message…
Sketch uses 315260 bytes (63%) of program storage space. Maximum is 499696 bytes.
Global variables use 28012 bytes (34%) of dynamic memory, leaving 53908 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed.
I have the SSID and Password entered correctly.
I have tried to reset the ESP8266 by grounding pin D3 but no success.

To put the ESP into programming mode you must hold pin 0 at ground while resetting the ESP.

This is not a problem with compilation. If you do a Sketch > Verify/Compile (or click the check mark button) you will see that it completes successfully. This is a failure to upload. It's very important to understand the difference because the troubleshooting methods for each are completely different.