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

Author Topic: Mac installation issue  (Read 646 times)

0 Members and 1 Guest are viewing this topic.

moray95

  • Newbie
  • *
  • Posts: 1
    • View Profile
Mac installation issue
« on: December 28, 2015, 10:30:37 pm »
I am trying to install SFML on my Mac but had no chance with I have done so far. I have done the following: install the Mac installation an follow the instructions on http://www.sfml-dev.org/tutorials/2.0/start-osx.php. I can actually create an SFML Xcode project and run it. But I would like to use SFML without Xcode and the only way I can achieve this, is by specifying the path to the headers an libraries by hand to the compiler (with -I and -L), otherwise the compiler can't find either the headers nor the libraries to link. Why can't I compile manually without these options and how can I solve this problem?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4323
    • View Profile
    • Email
Re: Mac installation issue
« Reply #1 on: December 29, 2015, 07:43:31 pm »
Those options are added to your project when you create one using the Xcode templates. You'll need them too if you want to compile "by hand".

Although this doesn't answer your "why" question, you can find the relevant info probably in `man clang`.
SFML / OS X developer