在stackoverflow上找到的解决方法
or this... To fix the error, right click on the project name in the Solution Explorer tab and select Properties -> C/C++ -> Preprocessor -> Preprocessor definitions and append GLUT_BUILDING_LIB to the existing definitions, seperated by semicolons.
版权声明:本文为ajly99原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。