PDA

View Full Version : Building GLUT



Rav89
12-31-2009, 07:45 PM
Hello everyone. Sorry for my english.

I've done 2 programs in Visual Studio 2005 Professional (Windows XP SP3): A game in OpenGL, and a MFC application that recognizes the picture from internet camera.
I wanted to join both programs to make possible playing game by gestures or something.
My current problem is that both applications use callback functions. I've found a solution: http://www.sjbaker.org/steve/software/glut_hack.html

So I downloaded the source of GLUT-3.7.6, chagned the code and tried to build it - but it didn't work.

I got one error message (and 14 warnings that are - as I read - not important):

"Error 15 error PRJ0019: A tool returned an error code from "Copying libraries, headers & dll's..." glut32"

Could someone help me?

Rav89
01-01-2010, 12:06 PM
Ok, I did it! :) For all people who would have the same problem:

Open Project->glut32 properties->Build Events->Post-Build Event->Command Line->"..." and then replace VC98 by VC.
Voila :)