-
Mike MawiraLikes 0Problem Description
Hi,
I am Mike. I have followed the part 4 tutorial to the letter but when I run the program on Visual Studio, I get an error stating SFML Template.exe file not found. Her is a screenshot of it.
What should I do to fix it?
-
Sonar Systems adminLikes 0
Can you show me the code.
-
Mike MawiraLikes 0
Here is the code and also its screen shot
#include <SFML/Graphics.hpp>
#define SCREEN_WIDTH 1024
#define SCREEN_HEIGHT 1024
int main()
{
sf::RenderWindow window(sf::VideoMode(SCREEN_WIDTH, SCREEN_HEIGHT),"Awesome SFML");
while (window.isOpen())
{
// handle events// update game logic
//draw
window.clear();// draw SFML objects
window.display();
}
return EXIT_SUCCESS;
}
-
Sonar Systems adminLikes 0
What version of everything are you using?
-
Mike MawiraLikes 0
I am using Microsoft Visual studio 2017 and SFML version 2.5.0
-
Mike MawiraLikes 0
The visual studio is community edition and SFML is 32 bit version.
-
Sonar Systems adminLikes 0
Which version numbers?
Login to reply