I am trying to call glXSwapIntervalEXT in my Linux application.
I declared GLX_GLXEXT_PROTOTYPES in the user definitions, and the header file is found. However, my program cannot link due to an undefined reference to this function.
I am trying this text in the compiler options in Code::Bliocks:
-lGLEW -lglut -lGL -lGLU -lXext
I also tried adding “/usr/lib/x86_64-linux-gnu/libGLEW.so.1.6” in the linker settings, but to no avail.