Problem with SDL_ttf

Hello. I have a problem with ttf library. I tried installing, uninstalling and reinstalling it with hombrew with no succes.
I’ve got a lot of conlifcting errors of the type “Redefinition of enumerator…”. The debugger says “too many errors” and the app fails to build.
The error apears only when I use #include “SDL/SDL_ttf.h” in a header file or <SDL/SDL_ttf.h>.
Using Mac OS X High Sierra, Xcode 0.4, c++.