Tilengine - The 2D retro graphics engine forum

Full Version: Removing the command prompt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I remove the command prompt when I run a Tilengine program please?

It opens each time I run a Tilengine program
Hi,
It depends on C linker being used. In gcc and clones yo must use -Wl,-subsystem=windows flags when building. In Microsoft C is different.

For example with gcc or tcc yo must build with:

Code:
tcc -I"../include" ../lib/x64/Tilengine.dll -Wl,-subsystem=windows Tutorial.c -o tutorial.exe

Check this forum thread:
https://stackoverflow.com/questions/2032...exe-in-tcc