- include
- lib
- bin
Now, what are these things going to be for?
FreeGLUT is an up-to-date version of the popular GLUT kit. It makes OpenGL easier to work with by providing windows and some other functionality for you (making the windows is a platform specific thing that is just plain lame and a fucking drag to do in order to get a spinning fucking cube. Fuck.). It's cross platform but doesn't work well on OSX I believe.
GLFW is an alternative to FreeGLUT. It provides windowing and input and some other stuff. Works well on Windows/Linux/OSX. My favorite (o^_^)b.
GLEW allows you to easily enable any extensions you may need. The alternative is sheer torture (maybe not at first but eventually). GLEW it.
FreeGLUT
- Go to : http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/.
- Click: "freeglut MinGW Package".
- Alternatively, you can follow this link: http://files.transmissionzero.co.uk/software/development/GLUT/freeglut-MinGW.zip
- Get the zip file and expand it.
- Copy the freeGLUT bin .dll's to your bin folder you made.
- Copy the freeGLUT include contents ( copy the entire GL folder ) and put it into the include folder you made.
- Copy the freeGLUT lib contents into the lib folder you made.
GLFW
- Go to http://www.glfw.org/download.html.
- Download the latest zipped version.
- Unzip the package.
- Open up the console (WindowsKey + R).
- In the windows explorer go to the folder and copy the path from the top of the window.
- Go back to the console.
- Type "cd ". Space after the cd.
- Paste the path you copied and press enter to travel to the folder in the console.
- In the console, go to the unzipped folder where the Makefile is.
- Run the command "make win32-msys".
- If the command errors out then check the "readme.html" for instructions on what other commands to use. I'm pretty sure the error will tell you the options for running the make.
- After a few seconds, the console should spew info about the build.
- Copy the include/bin/lib stuff like you did before.
- Note that you should add the new include/GL stuff to the folder you've already made.
GLEW
- Go to http://glew.sourceforge.net/ and download the latest ZIP.
- Don't get the binaries, you will be building it yourself yo.
- Unzip the package, console to it, make.
- Copy the bin/lib/include stuff like before.
No comments:
Post a Comment