我正在尝试在 Visual Studio 中编译 C++ opengl 项目,但出现以下错误:
Error 2 error LNK2019: unresolved external symbol __imp____glutInitWithExit@12 referenced in function _glutInit_ATEXIT_HACK@8
Error 2 error LNK2019: unresolved external symbol __imp____glutInitWithExit@12 referenced in function _glutInit_ATEXIT_HACK@8
Error 4 error LNK1120: 2 unresolved externals
有谁知道我为什么会收到这个错误?我错过了图书馆吗?