Compiling SFML basic tutorial program in VScode: problem

I’m trying to run the most basic tutorial program listed in the SFML website, but I’m getting an error when I compile the program.

porcoddio.cpp:1:10: fatal error: include/SFML/Graphics.hpp: No such file or directory
    1 | #include <include/SFML/Graphics.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

VSCode recognizes the path when I type it in, and there are no squiggly lines underneath #include <include/SFML/Graphics.hpp> in the text editor. However, when I try to compile the program, I’m getting the above error. I have tried everything I could think of, but I’m still getting the same error.

I found a similar question on StackOverflow and tried the solution, but it didn’t work. Here is my code:

#include <include/SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}

What could be the cause of this issue?

The issue is that the compiler cannot find the SFML header file SFML/Graphics.hpp. The include statement <include/SFML/Graphics.hpp> is incorrect.

To fix the issue, remove the /include from the include statement. The correct include statement should be:

#include <SFML/Graphics.hpp>

After making this change, the program should compile without errors.