Dear all:
My system is Linux Fedora core 3 complete installation, I wonder that the openGL library is installed in my OS automatically, or I should install it additionally, Thanks a lot!
Mesa should be installed by default but depending on your graphics card you may want to install a driver to get hardware accelaration.
Execute glxinfo in a terminal.
If there is the line
OpenGL renderer string: Mesa GLX Indirect
in the output you don’t have hardware-accelerated rendering and should install a driver.
It is very kinds of you two, 3x.
I typed:
$ glxinfo
shows this string:
OpenGL version string:1.3 Mesa 6.1
It means that openGL version is 1.3, am I
It is very kinds of you two, 3x.
I typed:
$ glxinfo
shows this string:
OpenGL version string:1.3 Mesa 6.1
It means that openGL version is 1.3, am I right?
You are right, but if you show us the complete output and tell us what graphics card you have we can help you some more.
I compile my opengl c file:firstGraph.c like this:
gcc firstGraph.c -lglut -ffast-math -lMesaGLU -lMesaGL -lm -L/usr/X11/lib
-L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -o firstGraph
but failed, it shows: cannot find -lMesaGLU. my Mesa have installed, and I don’t know why.
Please don’t crosspost the same question in two forums.
The library flags should be -lGL and -lGLU (instead of -lMesaGL, -lMesaGLU).
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.