I've been in contact with the primary gtkglext (opengl extension for GTK+ 2) and have worked out the issues with gtkglext compiling cleanly when nvidia's drivers and headers are used and active on a gentoo system (opengl-update nvidia...) The current version 1.0.2 compiles cleanly on gentoo (with opengl set to nvidia) and runs fine with the nvidia headers, so the current ebuild can be refined to NOT switch the opengl environment before compiling the library. Reproducible: Always Steps to Reproduce: 1. emerge gtkglext Actual Results: gtkglext (only version 1.0 gets installed but builds against the X11 opengl headers, not the stock nividia ones set via opengl-update nvidia Expected Results: installed the current version 1.0.2 which DOES NOT require switching the opengl environment to the xfree mode.
There have been several problems over time with gtkglext and nvidia headers, so i prefer to keep it this way for now. People might still be running older/bad versions. It makes no difference for the final binaries to my knowledge.