Re: Extra console window when cross-compiling

Сергей Коныгин <[email protected]> Sat, 15 Nov 2025 23:09:41 -0800 (PST)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Thanks!

Please clarify, should this option be added when compiling my application, 
wxWidgets or both? 

воскресенье, 16 ноября 2025 г. в 10:43:00 UTC+4, Igor Korot: 

> Hi,
>
>
> On Sat, Nov 15, 2025 at 10:36 PM Сергей Коныгин <[email protected]> 
> wrote:
>
>> Hi!
>>
>> I'm trying to use a cross-compiler i686-w64-mingw32 to build my Windows 
>> project (Debian 12, wxWidgets 3.3.1). But there was a some problem.
>> When you start the program, an additional console window appears. When 
>> compiling under Windows, everything is fine. There is only the main 
>> program window. 
>> Is this related to the cross-compiler itself or am I configuring 
>> wxWidgets incorrectly?
>>
>
> When building you code append “-windows” option.
>
> Thank you.
>
>
>> -- 
>> Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "wx-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/wx-users/a4b2e4a0-cf2d-4b9b-8b93-3de1a68c70cbn%40googlegroups.com 
>> <https://groups.google.com/d/msgid/wx-users/a4b2e4a0-cf2d-4b9b-8b93-3de1a68c70cbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/be73aae1-4547-45c7-879e-a4911ba4e2ccn%40googlegroups.com.