参考:http://blog.csdn.net/robinjwong/article/details/5636049
error: the procedure entry point _glutinitwithexit could not be located in the dnamic link library
solution:
Try define the following line right before including the header, glut.h.
#define GLUT_DISABLE_ATEXIT_HACK