0

I tried to set up glew and then devIL/openIL in visual studio but still have runtime and link error . I want to know it can be from openGL version of my visual studio or what? what should i do for upgrading my openGL?

Thanks.

4
  • Could you copy the link errors ?
    – tibur
    Commented Aug 30, 2010 at 6:32
  • error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function _main
    – pooya
    Commented Aug 30, 2010 at 11:36
  • 5
    ilInit is not part of OpenGL.
    – Dr. Snoopy
    Commented Aug 30, 2010 at 11:42
  • i know. its part of DevIL .and i want to set up Devil in my program!!
    – pooya
    Commented Aug 31, 2010 at 9:35

2 Answers 2

1

error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function _main

You're calling but not defining ilInit(). Try linking against DeviL.lib.

0
0

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 ?

Not the answer you're looking for? Browse other questions tagged or ask your own question.