Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - firet

Pages: [1]
General / Visual Studio 2019 Cannot find file “SFML/Graphics.hpp”
« on: January 06, 2022, 06:55:44 pm »
I followed the tutorial on setting up SFML for Visual Studio, as well as some other tutorials, but when I add:
#include <SFML/Graphics.hpp>
Visual Studio gives me an error saying, “Cannot open header file ‘SFML/Graphics.hpp’”.
In Properties->C/C++->General, I added C:\Users\zeffb\Documents\C++\SFML-2.5.1\include
That folder contains a folder called “SFML” which has in it files such as “Graphics.hpp”.
I also linked all the .lib files.
What am I doing wrong?

I have a Chromebook on which I'm running Linux. I installed SFML via apt-get, and no new files appeared (as is normal with apt-get?) I compile my app, and it runs. But if I distribute the executable, will it run on other devices without having to install SFML on that device?
I'm using GCC to compile.

Pages: [1]