Reputation: 3750
I'm pretty dump :) So could anybody help and write step-by-step manual, how to install "cairo", "glut" and use it in VS 2010 project (C++) on Windows 7?
PS: the most fun thing that i managed to do that without any problem in Linux.
Upvotes: 2
Views: 1309
Reputation: 56
I don't know cairo, but setting up GLUT is rather straightforward.
unpack-dir/freeglut-x.x.x/VisualStudio2008
This should create a DLL file and a lib file with the same name. Now if you want to create a new project that uses GLUT, just configure the project correctly:
If you follow this setup, you should be able to use GLUT (#include <GL/glut.h>
) in your code and it should compile nicely. Not sure how you can also add cairo, but it will probably be a very similar process.
Upvotes: 2