hi, im fiddling around with glfw using codelite, and when i click the checkbox "this is a gui application" it doesnt remove the console as intended, are there other things i have to enable/disable to get rid of it, or is it a bug?
here is a screenshot to show it is checked, and there is indeed a console window:
[SOLVED] remove console from gui application
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Nov 07, 2015 9:19 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
[SOLVED] remove console from gui application
Last edited by lil Will on Sat Nov 07, 2015 11:50 am, edited 1 time in total.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: remove console from gui application
The settings are you looking at are for removing the console that CodeLite wraps your executable before launching it (it is useful when writing a console application and you want CodeLite to "Stop the program before it terminates" so you can read the console output)
What you are trying to achieve is actually a link flag on Windows.
Project Settings->Linker->Linker Options and append this:
(note the semi colon before the -mwindows)
Eran
What you are trying to achieve is actually a link flag on Windows.
Project Settings->Linker->Linker Options and append this:
Code: Select all
;-mwindows
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Nov 07, 2015 9:19 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: remove console from gui application
worked like a charm, thankseranif wrote: What you are trying to achieve is actually a link flag on Windows.
Project Settings->Linker->Linker Options and append this:
(note the semi colon before the -mwindows)Code: Select all
;-mwindows
Eran