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

Author Topic: SFML on Xcode C++ Project : #include <SFML/Graphics.hpp> : file not found  (Read 4370 times)

0 Members and 1 Guest are viewing this topic.

justik7

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi, I'm just getting started with SFML and programming : I'm working on a C++ project and I'm trying to install SFML on Xcode 5,1. So I followed the steps indicated on the website. Done. But now on my project : I'm trying to use the SFML library : that's why at the beginning of the program I wrote :

#include <SFML/Graphics.hpp>

and I'm told SFML/Graphics.hpp file not found.
What am I supposed to do ? Could you please give the steps I need to follow in order to solve this ?

Thank you very much.
« Last Edit: March 28, 2014, 05:13:35 pm by justik7 »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Make sure you use the last Xcode templates (see download page).
SFML / OS X developer

justik7

  • Newbie
  • *
  • Posts: 3
    • View Profile
Thank you. I have downloaded them. It still doesn't work. What am i supposed to do ?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Have you created a new project? If it still doesn't work, restart from scratch and follow carefully the tutorial. There's no magic and most pitfall are detailed in it.
SFML / OS X developer

 

anything