I tried to set up glew and then devIL/openIL in visual studio but still have runtime and link error . I wa开发者_开发知识库nt to know it can be from openGL version of my visual studio or what? what should i do for upgrading my openGL?
Thanks.
error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function _main
You're calling but not defining ilInit()
. Try linking against DeviL.lib
.
OpenGL library can't be upgraded. GLew should do the work to dynamically retrieve new functions pointers. Are you sure you are linking against opengl32.lib ?
精彩评论