Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: bumblebee on March 18, 2014, 01:45:09 PM

Title: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: bumblebee on March 18, 2014, 01:45:09 PM
After importing into new project when opening Font Maker the error message appears "Assets/NGUI/Editor/FreeType.dylib is missing". Pressing the button and selecting this file manually does not do anything. (OS X Mavericks, NGUI 3.5.4 r2). Am I missing something or something is wrong?
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: ArenMook on March 18, 2014, 03:12:05 PM
The dylib is a part of NGUI. Make sure you imported everything correctly. If you've ever moved NGUI into some subfolder such as /Assets/ThirdParty/NGUI, then you need to specify the path to where to find it, or move it back to Assets/NGUI
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: mvi on April 16, 2014, 12:24:44 PM
Just had an issue with this, which I thought I'd share.

Because my logged in user didn't have permission to copy to the /usr/local/lib folder NGUI would ask me to locate the source dylib, (which was already in the correct place).

To get around this I copied the file in command line:

sudo cp MY_UNITY_PATH/Assets/NGUI/Editor/FreeType.dylib /usr/local/lib/FreeType.dylib

I can see this tripping up a lot of people, so it would be nice to find a more user friendly solution, either with an instructional error message or a built in way to force the copy with permission. :-)
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: greenland on May 25, 2014, 09:33:12 PM
Same Problem.
The file is in place, I select it again and it still refuses to acknowledge it's there.
I don't have it at /usr/local/lib/FreeType.dylib though. I'd need to properly install it to try your method.
Although I don't understand why that would be a solution either...
I chowned and chmodded it 777, set security settings to run everything. It refuses to see FreeType.dylib no matter what I tried. :/
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: ArenMook on May 26, 2014, 10:39:51 PM
mvi's solution bypasses OS restrictions, and is an effective way to resolve the issue.
sudo cp MY_UNITY_PATH/Assets/NGUI/Editor/FreeType.dylib /usr/local/lib/FreeType.dylib
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: greenland on May 30, 2014, 09:13:07 AM
I don't have it at /usr/local/lib/FreeType.dylib
The only FreeType.dylib on my system is in the NGUI asset directory.
Macports seems to assert that the package is already installed.
Rumor is that if I uninstall macports and break all my node stuff, I can get Freetype.dylib from homebrew.
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: ArenMook on May 30, 2014, 03:18:11 PM
Yes, copy the one in the NGUI directory over to the folder I mentioned (/usr/local/lib)
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: Morty on June 27, 2014, 04:33:37 AM
Hi, there. I´ve done that but the problem persist. I´ve created the folders and copied the file there, but nothing.
Yes, copy the one in the NGUI directory over to the folder I mentioned (/usr/local/lib)
Title: Re: Assets/NGUI/Editor/FreeType.dylib is missing
Post by: ArenMook on June 27, 2014, 12:28:42 PM
Assuming you copied the file and restarted Unity, NGUI shouldn't be trying to copy anything anymore as FreeType.dylib will be visible.