[gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Thu, 11 May 2006 14:03:02 -0500
On Wed, 2006-05-10 at 23:29 +0200, Latimerius wrote:
> On Wed, May 10, 2006 at 03:00:53PM -0400, Roger D Vargas wrote:
>
> > I have a Radeon 9800 pro with propietary drivers+Xorg 7 in linux. I can
> > try to test your program and see what happens this weekend at home, if
> > it is not secret or something like that. Just tell me the dependencies
> > in case in need to install something extra and make sure your app runs
> > in 640x480 (I have a nice card but a very old monochrome display).
>
> Thank you, you are very kind.
>
> As for the test, it's very simple. Just try to compile the following
> program:
>
> <snip>
>
> #include "GL/gl.h"
> #include "GL/glext.h"
>
> int main ()
> {
> glCreateProgram ();
> }
>
> </snip>
>
> using the following command:
>
> g++ -g -Wall -DGL_GLEXT_PROTOTYPES -o test test.cpp -lGL
>
> If your installation has the same problem as mine, you'll get something
> like:
>
> test.cpp: In function `int main()':
> test.cpp:7: error: `glCreateProgram' undeclared (first use this function)
> test.cpp:7: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
Aren't those compiler errors, not link errors? It looks like the symbol
is not defined in gl.h or glext.h. I would go to /usr/include/GL and
grep to see if glCreateProgram is defined anywhere. If it isn't then I
would assume that I had an old version of the .h files and try to find
new ones. If glxinfo says you have 2.0 then you have 2.0.
Bob Pendleton
>
> If not, it should link cleanly (it does on my other machine with NVidia
> GPU and drivers).
>
> > But I think that GL 2.0 is not supported yet.
>
> Yes, I thought about that, too. However, running glxinfo on my machine
> says:
>
> OpenGL version string: 2.0.5755 (8.24.8)
>
> Which sounds like 2.0 to me.
>
> Besides, the shader API was available even prior to 2.0, as the
> ARB_shader_objects extension. glxinfo on my machine says that this
> extension is supported. But when I try to use it link errors result
> anyway. (If you want to check it out, replace glCreateProgram with
> glCreateProgramObjectARB in the testing program.)
>
> Thanks again,
>
> latimerius
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius
- References:
- [gameprogrammer] GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Roger D Vargas
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius
Other related posts:
- » [gameprogrammer] GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- » [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius
- [gameprogrammer] GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Roger D Vargas
- [gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers
- From: Latimerius