I've set up SFML with VS2005 successfully before, but have now come back to it and can't get it to work.
I'm using the sample on the tutorial page:
#include <SFML/System.hpp>
#include <iostream>
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}
My additional include directories under C++ -> General:
"$(DEV_DIR)\SFML-1.6\include"
Additional library directories:
"$(DEV_DIR)\SFML-1.6\lib"
In my linker dependencies:
sfml-system-s-d.lib
When I run from within VS, I get the message:
"The system cannot execute the specified program."
I also get some warnings, which as I understand it, mean that I'm not using the correct debug .lib? But I'm using sfml-system-s-d.lib, and my Code Generation settings are Multi-threaded Debug DLL (/MDd). Here are the warnings:
1>sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'E:\Dev\SFML-1.6\lib\sfml-system-s-d.lib' or at 'e:\dev\projects\sfml test2\debug\vc80.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'E:\Dev\SFML-1.6\lib\sfml-system-s-d.lib' or at 'e:\dev\projects\sfml test2\debug\vc80.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'E:\Dev\SFML-1.6\lib\sfml-system-s-d.lib' or at 'e:\dev\projects\sfml test2\debug\vc80.pdb'; linking object as if no debug info
I'm using a fresh, out of the box SFML-1.6 package. I haven't rebuilt the projects in the build directory, and from what I can see I'm using all the right project settings.
I'm not sure what I'm doing wrong here...