Freetype - new dependency for compiling on Ubuntu?

• May 11, 2015 - 03:15

I've been compiling MuseScore from source successfully up until now, but the latest GitHub revision (dcdf697) just failed to compile on my copy of Ubuntu 15.04. I got this message:

Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)

I did a bit of googling and discovered there are two Freetype packages in the Ubuntu repositories. I had "libfreetype" installed but not "libfreetype6-dev". I installed the 2nd package using:

$ sudo apt-get install libfreetype6-dev

The code now compiles successfully. Shall I add this to the list of dependencies in the Ubuntu compile guide? Or, might this by symptomatic of something else (e.g. out-of-date Qt)?


Comments

Thanks guys.
I just noticed a typo in my original post: I said "libfreetype" when I meant "libfreetype6".
So, for the sake of clarity, the two packages required are "libfreetype6" and "libfreetype6-dev".
Good job for having spotted that when you updated the compile guide.

Do you still have an unanswered question? Please log in first to post your question.