Cannot open source file “SFML/Graphics”
I am trying to use SFML C++ and I want to use it with Visual Studio, I follow this tutorial on SFML website. But an error appeared:
Problem with c++ code or my file management
I am new to C++ and I can’t understande what is wrong with my code I am using code block for my project and I don’t even know how I can see the erroe message. So I know what is wrong but I dont know why as all the files are normaly set up. This part of the code is just supose to make a chesboard like background. It tells me there is an error at the line 11 sf::RectangleShape rect(sf::Vector2f(600 / size, 600 / size));
A white box is displaying instead of the sprite (C++, SFML)
i had originally put the sprite texture code in the main cpp and it was working, I’ve encountered this issue after migrating it to a player class.