GLEW 64bit win7 shader problem,
Members - Reputation: 156
Posted 10 June 2010 - 08:39 AM
If I download and install glew 32bit on my laptop the app runs but with no shaders but no errors.
If I use the 64bit glew I get these compile errors:
error LNK2019: unresolved external symbol __imp__glewInit
Its almost as if glew32.lib just doesn't contain the function definitions in the 64bit download. I've tried running it static, older versions and tried mixing and matching the two downloads.
I don't know if there is something wrong with my code or something wrong with my installation. I take it I should be using the 64bit GLEW?
My laptop runs OpenGL with shaders normally. I am totally stumped!?
Members - Reputation: 969
Posted 10 June 2010 - 10:17 AM
You could not use shaders? What happens when you try using shaders? Do your drivers not support them at the moment, or do you get unresolved external errors when you try to build your project with shader functionality? If the it is due to unresolved externals, it is because the lib is not setup correctly. All your fixed-function OpenGL code works because it is supported by OpenGL32.lib/dll which glut automatically loads and includes into your project if you are using GLUT.