On Thu, Apr 16, 2020 at 6:38 PM <charlotte.kna...@telenet.be> wrote:

> I am a student and am currently learning to program in C++(14). I have a
> MacBook Air so I use Xcode to write my code,


If you wish to continue to use Xcode, I suggest that you install home brew (
https://brew.sh/) which is an incredible source of free software.

Once home brew is installed, you can install GSL easily on your computer
using a terminal (I will recommend that you install iTerm -
https://www.iterm2.com/ - which is so much nicer than Apple Terminal): brew
install gsl.

Adding GSL to your Xcode requires a few additional settings in the project.
In "Build Settings", you have to add /usr/local/include to "Header Search
Path", /usr/local/lib to "Library Search Path" and -lgsl to "Other Linker
Flags".

Best regards,
Kenneth

Reply via email to