Link2019 C ++错误

时间:2018-02-27 13:29:34

标签: c++

1>------ Build started: Project: OpenGL, Configuration: Debug Win32 ------
1>Application.cpp
1>Application.obj : error LNK2019: unresolved external symbol _glfwInit referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwTerminate referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwCreateWindow referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwWindowShouldClose referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwPollEvents referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwMakeContextCurrent referenced in function _main
1>Application.obj : error LNK2019: unresolved external symbol _glfwSwapBuffers referenced in function _main
1>D:\Visual Studio\_Projects\OpenGL\OpenGL\Dependencies\GLFW\lib-vc2015\glfw3.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86'
1>D:\Visual Studio\_Projects\OpenGL\bin\Win32\Debug\OpenGL.exe : fatal error LNK1120: 7 unresolved externals
1>Done building project "OpenGL.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

我正在导入一些代码并将其与您必须执行的所有其他操作相关联,但是当我完成时,它仍然存在这些错误...有人可以帮助我吗?

0 个答案:

没有答案