Removing the command prompt - Printable Version +- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum) +-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7) +--- Thread: Removing the command prompt (/showthread.php?tid=979) |
Removing the command prompt - System64 - 12-18-2020 How can I remove the command prompt when I run a Tilengine program please? It opens each time I run a Tilengine program RE: Removing the command prompt - megamarc - 12-19-2020 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/20320657/is-there-a-way-to-compile-windows-gui-that-is-no-console-exe-in-tcc |