Linker error with glew when library is statically linked

我只是一个虾纸丫 提交于 2019-12-02 05:22:51

You have two problems in the linker settings:

  • You can link against the statically linked version of glew or the dynamically linked one, but never against both. So if you want glew statically linked remove glew32d.lib (or glew32.lib in release mode) from the additional dependencies.

  • Glew requires you to also link agains the opengl library. Add OpenGL32.lib to the additional dependencies.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!