View Full Version : Glut in Console
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, 03: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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.