SFML community forums

Help => General => Topic started by: moray95 on December 28, 2015, 10:30:37 pm

Title: Mac installation issue
Post by: moray95 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?
Title: Re: Mac installation issue
Post by: Hiura 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`.