4/28/2009

Installing SDL (Simple DirectMedia Layer), GLUT (OpenGL Utility Kit) under Mingw


All information can be found through their presented web site. Therefore candidates can directly visit by clicking this link. Candidates will find the appreciated library under the "Download" / "SDL 1.2" section. The library contains many files, however candidates do not need copy all of it. Copy inside files of bin, include and lib folders into your Mingw folder.
Compile method 1)
$ g++ “sourcefile.extension” –o “launching program name”-lsdl
Compile method 2 – include OpenGL lib)
$ g++ “sourcefile.extension” –o “launching program name”-lsdl –lglu32 –lglut32 –lopengl32
If candidates want to use glut library, please visit here . And will look appreciate method through the web site. Please check the shown above picture.

No comments:

Post a Comment