I'm having trouble getting a window to run.
I recently just started out with SFML after learning a series of C++ tutorials and I think I'm ready to tackle this.
However I'm not very experienced when it comes to libraries and linking libraries to the compiler.
I believe I got SFML working for the very first tutorial, but when I got to the window tutorial it all went downhill.
For starters, here is my main.cpp file:
#include <SFML/Window.hpp>
int main()
{
sf::Window App(sf::VideoMode(800,600,32), "SFML Window");
bool running = true;
while(running)
{
App.Display();
}
return EXIT_SUCCESS;
}
In the project properties I had this:
Linker -> Input -> Additional Dependencies:
sfml-system.lib
That was from the last tutorial, I figured I needed to change it to:
sfml-window.lib
so I did.
When I compiled, no errors.
When I ran it I got this error:
Test.exe - System Error
The program can't start because sfml-system.dll is missing from your computer. Try reinstalling the program to fix this problem.
So I figured I needed the sfml-system.dll where my .exe was, which made no sense since I'm not using using system in my code, but I put it in there anyways. But then it occured to me I needed the sfml-window.dll since I am of course using that. After doing that, I ran it again:
Test.exe - Entry Point Not Found
The procedure entry point ?GetElapsedTime@Clock@sf@@QBEMXZ could not be located in the dynamic link library sfml-system.dll.
No idea what that means.