Try installing freeglut first.