Xcode can’t find library files when compiling [duplicate]

  c++, xcode

I was trying to use the SFML library to practise c++, so here’s what i did in order to link the library:

  • I went to Build Settings > Header Search Paths and i inserted the absolute path leading to SFML’s include folder.
  • Then i went to Build Settings > Library Search Paths and i inserted the absolute path leading to SFML’s lib folder.

When i try to compile it says that the symbols can’t be found…
What have i done wrong? isn’t this the way you link libraries?

Source: Windows Questions C++

LEAVE A COMMENT