Re: Extra console window when cross-compiling

Igor Korot <[email protected]> Sun, 16 Nov 2025 21:47:13 -0800
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CA+FnnTxqs6z7ZnzGhdac6qLE=nnsUjvqjwuY4H9vqOC+RvNG9Q@mail.gmail.com>
Hi,

On Sat, Nov 15, 2025 at 11:09 PM Сергей Коныгин <[email protected]>
wrote:

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

Your app should be enough.

Thank you.


>
> воскресенье, 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
> <https://groups.google.com/d/msgid/wx-users/be73aae1-4547-45c7-879e-a4911ba4e2ccn%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/CA%2BFnnTxqs6z7ZnzGhdac6qLE%3DnnsUjvqjwuY4H9vqOC%2BRvNG9Q%40mail.gmail.com.