Advertisement Jump to content
Sign in to follow this  
Posese

OpenGL Console window with GLUT

This topic is 3836 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys :) It's the first time i post here, but i have read some times this forums and I think there's good people here to help me :D By the way, I am not english, so sorry if I make some mistakes ;) I'm using openGL, glu and glut. I create windows with GLUT, and I draw on them. But, every time I execute the program (for example, a cube drawn in the picture) two windows are opened: the one where picture is drawn and another like a "console" (to show errors and things like that, but is always black)... I don't want it to appear, but i don't know how to avoid it... Well, i hope someone knows the solution... Thanks, and bye!

Share this post


Link to post
Share on other sites
Advertisement
If you are using GCC, provide the "-mwindows" option to the linker. If you are using MS Visual Studio, make sure the linker options are set to produce a "Win32 application" and not a "Win32 console application".

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!