View Full Version : glVertexAttribDivisorARB Link Error
03-25-2010, 08:57 AM
Using glVertexAttribDivisorARB with NVIDIA 195.36.07.03 gives me a link error.
undefined reference to `glVertexAttribDivisorARB'
03-25-2010, 10:22 AM
And trying to use glVertexAttribDivisor gives me a compile error.
03-25-2010, 11:06 AM
Why compilation time? Extension specific function pointers shall be loaded at run-time using wglGetProcAddress. I'm not 100% sure that this is the only way but as far as I know every extension library like GLEW and friends do it this way. Maybe that will solve your problem.
03-25-2010, 01:30 PM
It seems like the glVertexAttribDivisorARB version isn't exposed in the driver.
There should be a 3.3 gl.h file somewhere that defines glVertexAttribDivisor, right? Anyone know where I can get it?
03-29-2010, 11:53 AM
Currently the NVIDIA 3.3 driver only exposes glVertexAttribDivisor. You'll need to add the glVertexAttribDivisor prototype to your application until the NVIDIA driver exposes glVertexAttribDivisorARB correctly. Sorry about that.
04-26-2010, 03:46 PM
This should be fixed now in the latest NVIDIA OpenGL 4.0 driver:
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.