CMake unable to find Freetype in Ubuntu

Problems building or running the engine, queries about how to use features etc.
Post Reply
Jamie_Edwards
Gnoblar
Posts: 10
Joined: Tue Jun 17, 2014 10:57 pm

CMake unable to find Freetype in Ubuntu

Post by Jamie_Edwards »

Hi guys,

While trying to configure the Ogre SDK in Ubuntu 14.04, I get the following error from CMake:

Code: Select all

CMake Error at CMake/Utils/MacroLogFeature.cmake:100 (MESSAGE):
  -----------------------------------------------------------------------------
  -- The following REQUIRED packages could NOT be located on your system.
  -- Please install them before continuing this software installation.
  -- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
  dependencies>
 -----------------------------------------------------------------------------
  + freetype: Portable font engine <http://www.freetype.org>
 -----------------------------------------------------------------------------
Call Stack (most recent call first):
  CMake/Dependencies.cmake:234 (MACRO_DISPLAY_FEATURE_LOG)
  CMakeLists.txt:194 (include)
Configuring incomplete, errors occurred!
I have Freetype already installed, under /usr/include/freetype2/

How can I get CMake to point to, and find, Freetype??

Thanks,

Jamie
Post Reply