i found out the reason for the undefined reference:
on the first cmake CMakeLists.txt:
http://www.opengl.org/discussion_boards/...ntervalEXT
if i try this:
i get nothing. however, if i try with nvidia (my card is an nvidia) drivers libGL.so:
what do you guys suggest me to do? shall i rename that libGL to something else and create a symbolic link instead?
edit: tried that and no errors testing now...
edit2: apparently it fails on runtime. it doesn't vsync at all. it compiles properly though
on the first cmake CMakeLists.txt:
Code:
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
if i try this:
Code:
nm -Do /usr/lib/x86_64-linux-gnu/libGL.so | grep glXSwapIntervalEXT
Code:
nm -Do /usr/lib/nvidia-331-updates/libGL.so | grep glXSwapIntervalEXT
/usr/lib/nvidia-331-updates/libGL.so:000000000007e270 T glXSwapIntervalEXT
edit: tried that and no errors testing now...
edit2: apparently it fails on runtime. it doesn't vsync at all. it compiles properly though