Flappy Bird Windows Setup - Video Part 4

  • Mike Mawira
    Likes 0

    Problem 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 admin
    Likes 0

    Can you show me the code.

  • Mike Mawira
    Likes 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 admin
    Likes 0

    What version of everything are you using?

  • Mike Mawira
    Likes 0

    I am using Microsoft Visual studio 2017 and SFML version 2.5.0

  • Mike Mawira
    Likes 0

    The visual studio is community edition and SFML is 32 bit version.

  • Sonar Systems admin
    Likes 0

    Which version numbers?

Login to reply