This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center。
6年前关闭。
我一直在尝试获取freeGlut / openGL并希望在Visual Studio 2012上正常工作,但似乎无法使其正常工作。
这些是我的错误:
http://pastebin.com/8YyVvxDb
我已经将标头,DLL,库和所有内容移至所有可能的位置,将内容添加到链接器等中,但仍然无法正常工作。
如果有人可以通过远程帮助我,我确实有teamviewer / skype
这是上面链接的日志。订单保留在OP的链接中。
我找到了一个名为“ dependencywalker”的程序,并用它来查找可能的错误..这是它的报告:
它说找不到模块“ GPSV.DLL”和“ IESHIMS.DLL” ..
知道我做错了什么吗?
6年前关闭。
我一直在尝试获取freeGlut / openGL并希望在Visual Studio 2012上正常工作,但似乎无法使其正常工作。
这些是我的错误:
http://pastebin.com/8YyVvxDb
我已经将标头,DLL,库和所有内容移至所有可能的位置,将内容添加到链接器等中,但仍然无法正常工作。
如果有人可以通过远程帮助我,我确实有teamviewer / skype
这是上面链接的日志。订单保留在OP的链接中。
Error 14 error LNK1120: 13 unresolved externals C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Debug\Testing_glut.exe Testing_glut
Error 9 error LNK2019: unresolved external symbol __imp____glutCreateWindowWithExit@8 referenced in function _glutCreateWindow_ATEXIT_HACK@4 C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 8 error LNK2019: unresolved external symbol __imp____glutInitWithExit@12 referenced in function _glutInit_ATEXIT_HACK@8 C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 7 error LNK2019: unresolved external symbol __imp__glutDisplayFunc@4 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 12 error LNK2019: unresolved external symbol __imp__glutInitContextFlags@4 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 13 error LNK2019: unresolved external symbol __imp__glutInitContextProfile@4 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 11 error LNK2019: unresolved external symbol __imp__glutInitContextVersion@8 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 2 error LNK2019: unresolved external symbol __imp__glutInitDisplayMode@4 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 1 error LNK2019: unresolved external symbol __imp__glutInitWindowSize@8 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 3 error LNK2019: unresolved external symbol __imp__glutMainLoop@0 referenced in function _main C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 4 error LNK2019: unresolved external symbol __imp__glutPostRedisplay@0 referenced in function _RenderFunction C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 6 error LNK2019: unresolved external symbol __imp__glutReshapeFunc@4 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 10 error LNK2019: unresolved external symbol __imp__glutSetOption@8 referenced in function _InitWindow C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
Error 5 error LNK2019: unresolved external symbol __imp__glutSwapBuffers@0 referenced in function _RenderFunction C:\Users\Nanashi\documents\visual studio 2012\Projects\Testing_glut\Testing_glut\main.obj Testing_glut
我找到了一个名为“ dependencywalker”的程序,并用它来查找可能的错误..这是它的报告:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
它说找不到模块“ GPSV.DLL”和“ IESHIMS.DLL” ..
知道我做错了什么吗?
最佳答案
打开项目后,从菜单栏中选择“项目”,然后在该菜单上选择“属性”。在“配置属性”中,选择“ VC ++目录”。在此处,编辑“包含目录”以包含freeglut \ include文件夹,并编辑“库目录”以包含freeglut \ lib文件夹。我对freeglut也很陌生,但这对我有用,摆脱了您提到的相同类型的错误。
10-07 19:12