Author Topic: Assets/NGUI/Editor/FreeType.dylib is missing  (Read 6334 times)

bumblebee

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 6
    • View Profile
Assets/NGUI/Editor/FreeType.dylib is missing
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,153
  • Toronto, Canada
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #1 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

mvi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 4
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #2 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. :-)

greenland

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #3 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. :/

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,153
  • Toronto, Canada
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #4 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

greenland

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #5 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.
« Last Edit: May 30, 2014, 09:18:25 AM by greenland »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,153
  • Toronto, Canada
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #6 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)

Morty

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #7 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)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,153
  • Toronto, Canada
    • View Profile
Re: Assets/NGUI/Editor/FreeType.dylib is missing
« Reply #8 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.