cmake error when configuring

后端 未结 1 822
长发绾君心
长发绾君心 2020-12-31 19:30

Sorry if this is not the right place to post this but I think the librocket forum is long dead.

I have Ubuntu 12.04 and I followed the steps in building librocket h

相关标签:
1条回答
  • 2020-12-31 20:06

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

    Let's say this library is in the directory /foo/bar/freetype, you will have to invoke cmake like you did but with the following options:

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

    And if you don't have the library Freetype on your computer, you will - of course - have to download it beforehand.

    0 讨论(0)
提交回复
热议问题