OpenGL continued with GLFW
Posted: Sat Mar 27, 2010 7:56 am
Hi Fellow Travellers,
Just some information about how I have things set up on my system.
We will now be playing with Visual C++ 2010 Express Beta2
http://www.microsoft.com/express/downloads/
Soon the official release will be available and we will be switching to it.
We will also be using a library called GLFW
http://www.glfw.org/
GLFW is a free, Open Source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time. It is intended to be simple to integrate into existing applications and does not lay claim to the main loop.
GLFW has native support for Windows, Mac OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD.
It is basically a better replacement for GLUT. (it actually works properly)
This package comes as a group of source files that have to be compiled.
The documentation has some faults in it, but as we plan to use GLFW linked into our code, rather than the DLL version of GLFW, we only have to compile the source and use the created "glfw.h", "glfw.lib" files. (use the release version of the "glfw.lib" file.
SETTING UP:
VisualC++ 2010 express when it installs will install all the require SDK files at
"C:\Program Files\Microsoft SDKs\Windows\v7.0A"
The search paths to these files will already be set up for you.
For convience we have coppied "glfw.h" into "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl/" folder.
We have also coppied "glfw.lib" into "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\" folder.
Just some information about how I have things set up on my system.
We will now be playing with Visual C++ 2010 Express Beta2
http://www.microsoft.com/express/downloads/
Soon the official release will be available and we will be switching to it.
We will also be using a library called GLFW
http://www.glfw.org/
GLFW is a free, Open Source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time. It is intended to be simple to integrate into existing applications and does not lay claim to the main loop.
GLFW has native support for Windows, Mac OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD.
It is basically a better replacement for GLUT. (it actually works properly)
This package comes as a group of source files that have to be compiled.
The documentation has some faults in it, but as we plan to use GLFW linked into our code, rather than the DLL version of GLFW, we only have to compile the source and use the created "glfw.h", "glfw.lib" files. (use the release version of the "glfw.lib" file.
SETTING UP:
VisualC++ 2010 express when it installs will install all the require SDK files at
"C:\Program Files\Microsoft SDKs\Windows\v7.0A"
The search paths to these files will already be set up for you.
For convience we have coppied "glfw.h" into "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl/" folder.
We have also coppied "glfw.lib" into "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\" folder.