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.
11-16-2003, 04:41 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.