|
|
#1 | |
|
Registered User
Join Date: Jan 2008
Posts: 13
|
Hey guys.. noticed something interesting and would like to know the reasons...ubuntu..nvidia..cairo dock... I install the nvidia driver manually for ubuntu ...if , after installing the nvidia driver, I try to compile cairo dock svn which has opengl implimentation, it fails the compile with an error of `error: implicit declaration of function 'glActiveTexture'
However if i then reinstall the mesa packages , it compiles fine.. if I then install another nvidia driver the previously compiled cairo dock works but if i then try to compile that same revision of cairo dock on the new driver installation it fails..untill i re install mesa packages. An explanation would be well appreciated! coz |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2009
Posts: 3
|
Lucky you, got at least your Nvidia graphics card working...
|
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
For anything above OpenGL 1.1, you need to define GL_GLEXT_PROTOTYPES if you want glext.h to define function prototypes as well as typedefs. Otherwise, you need to use the typedefs and glXGetProcAddress and decide at runtime whether that feature is supported for a given GL implementation.
|
|
|
|
![]() |
| Thread Tools | |
|
|