SFML community forums
General => General discussions => Topic started by: 93interactive on September 01, 2009, 05:51:21 pm
-
hello,
i am trying to compile a sfml project on windows vista via visual c++ 2008.
i have installed sfml 1.5 and in general it works, but the examples in the sfml zip do *not* show up a command prompt.
my own project is always opening a command prompt window before opening the application window, so i have two windows open.
i have tried to follow the docs step by step, but i am a total visual c++ n00b, i'm more used to makefiles under unix, maybe i missed something.
-
You must create a "Windows application" project, not a "Console" one (you can change it in your project's settings, under "Linker" / "System" / "Sub-system").
Then you have to link to sfml-main.lib.
-
thanx, works fine