Cmake error during setup

Sorry if this is not a good place to post, but I think the librocket forum has long been dead.

I have Ubuntu 12.04 and I followed the steps to create librocket here .

I use cmake as steps, but when I pressed c to configure this error, it appeared:

 CMake Error at
 /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
 (MESSAGE):
   Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
 Call Stack (most recent call first):
   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
 (_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-2.8/Modules/FindFreetype.cmake:83
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:61 (find_package)

Any help? Thank.

+5
source share
1 answer

This means that CMake tries to automatically find the Freetype library on your disk, but does not find it. You will need to manually tell cmake where the .so file corresponding to FREETYPE_LIBRARY, and where the include directory for is located FREETYPE_INCLUDE_DIRS.

, /foo/bar/freetype, cmake, , :

-DFREETYPE_LIBRARY=/foo/bar/freetype/freetype.so -DFREETYPE_INCLUDE_DIRS=/foo/bar/freetype/include

Freetype , , , .

+4

All Articles