Please post your sketch using code tags
As it stands now, in below line the relevant statement #include <WiFi.h> is commented out. And there are more like that.
Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project
See About the IDE 1.x category.