Hiding the dos console.
by Chris "Dark" Evans · in Torque Game Engine · 12/06/2001 (4:25 am) · 12 replies
I was wondering, how would I hide the dos console that opens when I launch torque? I'm new to VC++ (C++ in general), and I don't know how to get rid of it.
Dark
Dark
#2
you do have Project->Settings, but i couldnt even find the option there
:(
12/06/2001 (7:24 am)
There's no such option as Build-> Settings...you do have Project->Settings, but i couldnt even find the option there
:(
#3
Phil.
12/06/2001 (7:32 am)
Thought it was off the build menu, but it looks like it is somewhere on the project->settings menu. Cant remember exactly where though.Phil.
#4
12/06/2001 (8:31 am)
look in Project->Settings and go to the Link tab. In the Project Options text box you will see the various linker switches, etc. Look for /subsystem:dos and change it to /subsystem:windows. If the /subsystem switch isn't there, then add it.
#5
is this the same?
Im rebuilding the project right now with that option changed to /subsystem:windows ... ill post the result as soon as it finishes
12/06/2001 (4:33 pm)
instead of /subsystem:dos i have /subsystem:console ...is this the same?
Im rebuilding the project right now with that option changed to /subsystem:windows ... ill post the result as soon as it finishes
#6
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\bitmapBmp.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\bitmapPng.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\mMathSSE.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\fluidRender.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\fluidSupport.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\terrRender2.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\tsCollision.sbr' ignored
maybe its not important, but i want to be sure
12/06/2001 (4:38 pm)
ok it worked... but i got this new warnings:BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\bitmapBmp.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\bitmapPng.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\mMathSSE.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\fluidRender.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\fluidSupport.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\terrRender2.sbr' ignored
BSCMAKE: warning BK4503 : minor error in .SBR file '\GarageGames\torque\engine\out.VC6.RELEASE\tsCollision.sbr' ignored
maybe its not important, but i want to be sure
#7
Dark
12/06/2001 (10:19 pm)
It said console on mine too, I changed it to windows and it works fine, no warnings at all.Dark
#8
Josh
12/07/2001 (6:04 am)
Try doing a clean then re-making the project. That should fix those warnings.Josh
#9
12/07/2001 (3:32 pm)
yes, it does say 'console'. My remembery told me it said 'dos', but then us old farts have those sorts of issues...:-)
#10
04/27/2004 (6:43 pm)
Ha...i got 397 compiler errors when i did that...great...
#11
[edit]
Figured it out. Basically the same way. With TorqueDemo highlighted, goto Project menu, pick properties, then goto the linker folder, then the system option, and change the subsystem "Console (/SUBSYSTEM:CONSOLE)" to "Windows (/SUBSYSTEM:WINDOWS)" and voila, n more ugly console.
04/27/2004 (7:17 pm)
Anyway to do this in VC++.net?[edit]
Figured it out. Basically the same way. With TorqueDemo highlighted, goto Project menu, pick properties, then goto the linker folder, then the system option, and change the subsystem "Console (/SUBSYSTEM:CONSOLE)" to "Windows (/SUBSYSTEM:WINDOWS)" and voila, n more ugly console.
#12
LFLAGS.GENERAL = -m i386pe
to this:
LFLAGS.GENERAL = -m i386pe -mwindows
Hope that saves somebody else some time! :-)
08/05/2005 (1:25 pm)
Hey, this is an old thread, but in case anybody out there is running TBE or otherwise compiling under GCC instead of Visual Studio, the equivalent to SUBSYSTEM:WINDOWS is to go to conf.GCC.WIN32.mk (or whatever conf you're using) and change the line that looks like this:LFLAGS.GENERAL = -m i386pe
to this:
LFLAGS.GENERAL = -m i386pe -mwindows
Hope that saves somebody else some time! :-)
Torque 3D Owner Phil Carlisle
Phil.