1
NGUI 3 Support / Re: Font Maker needs FreeType64.dylib on Mac
« on: July 17, 2015, 04:55:21 AM »
I noticed it's been a few months and the FreeType64.dylib is still missing.
X11 comes with a copy of the freetype lib so I thought I'd grab that check to see if it is 64.
On OSX you can use the file command to get the architecture of a library file so I checked it and got the following info:
$ file ./FreeType64.dylib
./FreeType64.dylib: Mach-O universal binary with 2 architectures
./FreeType64.dylib (for architecture i386): Mach-O dynamically linked shared library i386
./FreeType64.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
Sure enough it contains both 32-bit and 64-bit architectures.
So I installed it into the NGUI directory and copied it to the location the FontMaker wanted it installed to and sure enough Unity crashed.
Any idea what the problem is? I've clearly got a copy of the 64-bit library but the crash remains.
Btw, just now I checked the FreeType.dylib that is included with NGUI and it ALSO has the 64-bit architecture included.
X11 comes with a copy of the freetype lib so I thought I'd grab that check to see if it is 64.
On OSX you can use the file command to get the architecture of a library file so I checked it and got the following info:
$ file ./FreeType64.dylib
./FreeType64.dylib: Mach-O universal binary with 2 architectures
./FreeType64.dylib (for architecture i386): Mach-O dynamically linked shared library i386
./FreeType64.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
Sure enough it contains both 32-bit and 64-bit architectures.
So I installed it into the NGUI directory and copied it to the location the FontMaker wanted it installed to and sure enough Unity crashed.
Any idea what the problem is? I've clearly got a copy of the 64-bit library but the crash remains.
Btw, just now I checked the FreeType.dylib that is included with NGUI and it ALSO has the 64-bit architecture included.