Sorry to double post, but I'm now experiencing trouble with "WindowSettings"
1>------ Build started: Project: Game, Configuration: Debug Win32 ------
1>Build started 18/08/2010 00:34:10.
1>InitializeBuildStatus:
1> Touching "Debug\Game.unsuccessfulbuild".
1>ClCompile:
1> main.cpp
1>d:\c++\learning\game\main.cpp(9): error C2039: 'WindowSettings' : is not a member of 'sf'
1>d:\c++\learning\game\main.cpp(9): error C2065: 'WindowSettings' : undeclared identifier
1>d:\c++\learning\game\main.cpp(9): error C2146: syntax error : missing ';' before identifier 'Settings'
1>d:\c++\learning\game\main.cpp(9): error C2065: 'Settings' : undeclared identifier
1>d:\c++\learning\game\main.cpp(10): error C2065: 'Settings' : undeclared identifier
1>d:\c++\learning\game\main.cpp(10): error C2228: left of '.DepthBits' must have class/struct/union
1> type is ''unknown-type''
1>d:\c++\learning\game\main.cpp(11): error C2065: 'Settings' : undeclared identifier
1>d:\c++\learning\game\main.cpp(11): error C2228: left of '.StencilBits' must have class/struct/union
1> type is ''unknown-type''
1>d:\c++\learning\game\main.cpp(12): error C2065: 'Settings' : undeclared identifier
1>d:\c++\learning\game\main.cpp(12): error C2228: left of '.AntialiasingLevel' must have class/struct/union
1> type is ''unknown-type''
1>d:\c++\learning\game\main.cpp(15): error C2065: 'Settings' : undeclared identifier
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.42
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
It errors this, from this code:
sf::WindowSettings Settings;
Settings.DepthBits = 24;
Settings.StencilBits = 8;
Settings.AntialiasingLevel = 8;
// Create the window.
sf::RenderWindow App( sf::VideoMode( 800, 600, 32 ), "Connect 4", sf::Style::Close, Settings );
When I remove the Settings however it works perfectly? :?