PDA

View Full Version : Glut in Console



11-15-2003, 08:13 PM
I'm using Glut for Opengl. I tried compiling it as a windows application, but it won't go. I try compiling it as a console and it works, but a console appears everytime I run the program. Can anyone tell me how to properly compile programs with glut? I'm using MV-C++6 Intro.

mikael_aronsson
11-16-2003, 04:41 AM
Hi !

What do you mean with "It doesn't work" ? do you get linking errors or what ?

The most common problem is that if you link it as a windows application you normally need to add a WinMain() instead of main() function to handle to startup.

Mikael