Development of OpenGL Under Fedora I have been using Mesa + freeglut. It is a free open-source implementation and can be used in almost all Linux releases. The following describes the configuration process under Fedora13, which is applicable to various Fedora versions. 1. First install MesaMesa and integrate it into the system since FC5, But the package is not very full. We need a complete development environment. Root execution: yumlistmesa * & nbs
Development of OpenGL Under Fedora I have been using Mesa + freeglut. It is a free open-source implementation and can be used in almost all Linux releases.
The following describes the configuration process under Fedora 13, which is applicable to various Fedora versions.
1. First install Mesa
Mesa has been integrated into the system since FC5, But the package is not very full. We need a complete development environment.
Root execution:
Yum list mesa * // it lists all available mesa packages
Yum install mesa * // install all available mesa packages
2. Install freeglut
Root execution:
Yum install freeglut *
Now the configuration is complete. Is it simple? Haha!
In fact, this is not the end, because a link library must be added during program compilation.
-Lglut-lGLU-lGL
With these three, this is generally enough. The command to compile a file is:
G ++-lglut-lGLU-lGL-o main. cpp main // I use C ++. If it is a C language, the corresponding
Gcc-lglut-lGLU-lGL-o main. c main