Tasharen Entertainment Forum
		Support => NGUI 3 Support => Topic started 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?
			
- 
				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
			
- 
				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. :-)
- 
				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. :/
- 
				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 
- 
				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.
- 
				Yes, copy the one in the NGUI directory over to the folder I mentioned (/usr/local/lib)
			
- 
				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)
 
 
- 
				Assuming you copied the file and restarted Unity, NGUI shouldn't be trying to copy anything anymore as FreeType.dylib will be visible.