Thanks for the reply. I did a lot of reading around last night, managed to build the files, I think... lol.
I've never had to build any files before, but what I got from the tutorial on here and some forum posts, I managed to get these files with CMake.
After using CMake to create these files, I then loaded ALL_BUILD.vcxproj and pressed F7 ( Build ).
I also add the additional dependancies:
Properties > Linker > Input > Additional Dependancies
sfml-system.lib;sfml-graphics.lib;sfml-window.lib;sfml-audio.lib;sfml-network.lib
From what I'm doing, this should now work correctly?
Do I still need to add the include/lib directories? Now that they are in the VS2010 directoy.
I can still run the clock tutorial from this site, but as soon as I add a line to create a render window, I always get the 0x05 access violation error.
int _tmain(int argc, _TCHAR* argv[])
{
//error here
//sf::RenderWindow App( sf::VideoMode( 800, 600, 32 ), "My SFML Window" );
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
if( _kbhit() )
break;
}
return 0;
}
Sorry if you think I'm dumb, lmao. Been at this ( trying to get it to work ) for too long now.