First of all, I've build it with CMake. Not via brew.
There was some changes, that i provide to CMakeLists.txt, since there is an issue with building for i386, as I have mentioned earlier.
The second difference - I was building just a Makefiles. Without -G Xcode specified.
About the dependencies - there are only Freetype, as i remember.
But installing Freetype, I was also having problems with output architecture.
So, try to check this output:
Code: Select all
artem$ file /usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.a
it should be universal:
Code: Select all
/usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.a: Mach-O universal binary with 2 architectures
/usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.a (for architecture i386): current ar archive random library
/usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.a (for architecture x86_64):current ar archive random library
btw: What OSX version do you have installed? 10.10 Yosemite? And what about XCode? 6.1?