mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-30 02:39:17 -05:00
Be more specific about removing the console window
@ -74,7 +74,7 @@ Call `SetExitKey(KEY_NULL)`
|
|||||||
|
|
||||||
## How do I remove the console window?
|
## How do I remove the console window?
|
||||||
|
|
||||||
It can be removed with a compiler parameter, it depends on the platform and compiler. `gcc` supports `-Wl,--subsystem,windows` or [`-mwindows`](https://gcc.gnu.org/onlinedocs/gcc/x86-Windows-Options.html) compiler options. On Visual Studio, in Configuration Properties > Linker > System > SubSystem choose `Windows (/SUBSYSTEM:WINDOWS)` to avoid console. With other compilers there should be similar options.
|
It can be removed with a linker parameter, it depends on the platform and compiler. `gcc` supports `-Wl,--subsystem,windows` or [`-mwindows`](https://gcc.gnu.org/onlinedocs/gcc/x86-Windows-Options.html) compiler options. On Visual Studio, in Configuration Properties > Linker > System > SubSystem choose `Windows (/SUBSYSTEM:WINDOWS)` to avoid console. With other compilers there should be similar options.
|
||||||
|
|
||||||
<!-- TODO: explain changing the entry point to mainCRTStartup on visual studio -->
|
<!-- TODO: explain changing the entry point to mainCRTStartup on visual studio -->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user