SFML community forums
General => General discussions => Topic started by: newn on August 21, 2010, 03:39:00 pm
-
Hi everyone.
I would like to ask - why is that console window showing up, when i try to run the application? Any application i create actually, from the tutorial section. I guess it's because it's console application project in Vs2010, but why it should be like that? I mean, i cannot even compile a win32 application.
So question in simple words: Why is that console window shows up? Any particular specific for SFML reason for that?
-
Nothing SFML-specific related.
Under Windows operating systems, you may have created a "Windows Application" project, especially if don't want the console to show up.
-
Well, that's the error i'm getting, when creating Win32 Application, instead of Win32 Console Application:
1> All outputs are up-to-date.
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>D:\Development\Games\Test_Delete\Debug\Test_Delete.exe : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
-
Read the next sentence in the tutorial. :wink:
-
Oh, thanks. Must've missed it, when reading. :/ Or kept it for later investigation, and forgot about it.