Install TexStudio, load up the texstudio.ini configuration file. Open thesis.tex with TexStudio and click on "Build & View", the Tex document should compile right out of the box. Please let me know if that is not the case.