SFML community forums
Help => General => Topic started by: JDMaverick on August 02, 2012, 08:18:54 am
-
Hi All,
I'm new to game development but not in programming; just wanted to know how do you exclude the command prompt when you deploy your project for release?
Thank you very much,
JDMaverick
-
By using the forum search function? ;)
Link against sfml-main.lib and change the subsystem project setting to window.
-
By using the forum search function? ;)
Link against sfml-main.lib and change the subsystem project setting to window.
Apologies for bumping this somewhat-old thread, but can you please help specify what you meant by "Link against sfml-main.lib"?
I tried using the search function but the ones i can only find is a solution for Code::Blocks user, while I'm using VC2010.
Trying to change the linker properties from console -> window creates an error and not even changing 'main' to 'WinMain' fixes it (creates bugs i'm not sure how to fix). Help please?
Additional note: Currently the command FreeConsole() from windows.h works but there is still a splitsecond in which the console is visible. If possible i'd like it to not show up at all
Thanks and sorry again for the bump :)
E: I could provide the debug output if needed, but it would require me to recreate the scenario again which might take a lot of work, so I'm not including if possible. Sorry if this is an inconvenience
-
can you please help specify what you meant by "Link against sfml-main.lib"
Linker > Input > Additional dependencies. The place where you added other SFML libraries (sfml-system, sfml-window, ...) ;)
-
can you please help specify what you meant by "Link against sfml-main.lib"
Linker > Input > Additional dependencies. The place where you added other SFML libraries (sfml-system, sfml-window, ...) ;)
I see, can't believe I missed that :P
Compiling it as Window app is fixed now, thanks a lot.