How to prevent the terminal from popping up?

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
HansLjy
Earned a small fee
Earned a small fee
Posts: 19
Joined: Fri May 21, 2021 6:44 am

How to prevent the terminal from popping up?

Post by HansLjy »

When I start the application, a terminal always pops up with it. How can I get rid of it?
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to prevent the terminal from popping up?

Post by doublemax »

Assuming you're under Windows: You need to tell your linker to build a GUI application instead of a console application.

In Visual Studio the setting is under Linker -> System -> Subsystem

When using MinGW, add "-mwindows" to the command line.
Use the source, Luke!
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: How to prevent the terminal from popping up?

Post by ONEEYEMAN »

Hi,
And if you are using wxPython - you need to hide it somehow or build an executable.

Thank you.
Post Reply