Compile error glBindBuffer on linux

Hello,

I am trying to compile a opengl app (c++) where I make use of glBindBuffer.
During linking I get an error: undefined reference

I had this error before when using FBO and had to create some #define’s

#define GLX_GLXEXT_LEGACY
#define GL_GLEXT_PROTOTYPES

These are the libraries I use:

LIBS = -lGL -lXmu -lXext -lX11 -lm

Can anyone tell me what’s needed to compile this?

thanks,
rene

It looks strange that it works for FBO but not for VBO: as far as I know VBO are older.

Can you make a resume of your system (graphic card, drivers, GL version) ?

PS: you should only define GL_GLEXT_PROTOTYPES.

I’ve got it working…

It had to be glBindBufferARB

Both glBindBuffer & glBindBufferARB are defined in glext.h but only the second one compiles :frowning:

thanks for the reply.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.