Tuesday, March 13, 2007

Suzuki Sj50qt Restriction

Practice 2. Previous Previous 3

At the start of practice entered the site OpenGL ( www.opengl.org
) and the tab Resources Conding there is a link called GLUT & Utility Libraries
, and then we hit the About link GLUT, and transferred us to the final address below: http://www.opengl.org/resources/libraries/glut/
, which went down some files required for the practice of the links 3.7 Source Code Download GLUT for Win32
of section GLUT
Basic Information / Downloads "

and Pre-compiled Win32 for Intel GLUT 3.7 DLLs for Windows 95 & NT the section"
GLUT Other Information / Downloads
. It is necessary to decompress all I downloaded because it comes as. zip.
For practical purposes and to create order in one folder (the suggestion is My Documents) three folders: Lib and Include dll and in the Include folder to create Once a subfolder called GL.
Having already created and organized the folders are going to serve to accommodate the files you downloaded from the Internet. It is easy to classify what have fallen through the extensions that have, for example, those ending in. dll obviously going in the dll folder, those ending in. lib Lib and ending in. h Include folder.
For that we could run our examples in the information downloaded from the network was necessary to make some changes in the variables of the operating system environment. Entering the System control panel and then the Advanced tab and the Environment Variables button.
In my case the variable to modify PATH, it was created and all I did was add the folder path to the dll. But he had not had to create and porn the path of your dll folder. end
As these configurations were prepared to take some of the examples of the tool parcel GLUT programming on Microsoft Visual Studio 2005. Note: If you did the settings for environment variables
Microsoft Visual Studio 2005 open, we must restart the application for the changes to take effect.
The aforementioned programming environment created a Win32 solution with a name alluding to the practice field or in my case I called practice1 and I agreed to Application Settings and chose the following options:
Console Application -> Empty Project will not have to compile some code that is inesesario for our purposes.
Open
some existing code to our solution using the Solution Explorer, and add the Source Files C: \\ My Path \\ glut37 \\ glut-3.7 \\ progs \\ redbook \\ cube.cy extracted some code directory for the solution.
order to compile these examples we should add the needed libraries, went to the Project tab to access the following sublevels: Project -> practice1 Properties -> Configuration Properties -> C / C + + -> General -> Adittional Include Directory gimp here our Include correct path.
already there, in the tab we agreed to other sublevels Project: Project -> practice1 Properties -> Configuration Properties -> Linker -> General -> Adittional Libraries Directory, where we add the path to the Lib folder.
Having done all these steps and all these settings are ready to compile the different examples of GLUT tool, the first that ran was a simple cube volume appeared, however, could also do something more elaborate as is the robot that runs waving his arms and moved, apparently, very quickly.
Conclusion: I learned how to configure a graphical programming environment GLUT tool in Microsoft Visual Studio 2005. Things are interesting and can make better presentations, not analyze in detail the source code, but at first sight was new to me, and therefore, it seemed somewhat complex.

0 comments:

Post a Comment