error LNK2019: unresolved external symbol _LoadShaders referenced in function “void __cdecl init(void)” (?init@@YAXXZ)

前端 未结 3 729
一向
一向 2021-01-17 05:58

I am learning OpenGL and trying to run my first program. I have included all the files in include, lib, and bin folders. I have tried to add opengl32.lib;glut32.lib;glu32.li

3条回答
  •  青春惊慌失措
    2021-01-17 06:55

    Only adding the libs in Linker->Input is not enough. The Linker will still not find them because your libs are in some arbitrary directory. Add the directory they are in to the setting Linker->General->additional library directories.

提交回复
热议问题