Skip to content

fail to build freetype-gl-cpp #32

@heng94

Description

@heng94

Hi, thanks for sharing your work. I have a problem when I built the whole project, actually in building freetype-gl-cpp.

When I run "cmake -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX="pwd/../install" -DCMAKE_BUILD_TYPE=Release .."

It output the followings:
CMake Warning at CMakeLists.txt:18 (find_package):
By not providing "FindFontConfig.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"FontConfig", but CMake did not find one.

Could not find a package configuration file provided by "FontConfig" with
any of the following names:

FontConfigConfig.cmake
fontconfig-config.cmake

Add the installation prefix of "FontConfig" to CMAKE_PREFIX_PATH or set
"FontConfig_DIR" to a directory containing one of the above files. If
"FontConfig" provides a separate development package or SDK, be sure it has been installed.

CMake Error at CMakeLists.txt:37 (add_subdirectory):
add_subdirectory given source "external/freetype-gl" which is not an
existing directory.

CMake Error at CMakeLists.txt:24 (file):
file failed to open for reading (No such file or directory):

/home/zh/Documents/maskfusion/deps/freetype-gl-cpp/external/freetype-gl/shaders/text.vert

Call Stack (most recent call first):
CMakeLists.txt:40 (make_includable)

CMake Error at CMakeLists.txt:24 (file):
file failed to open for reading (No such file or directory):

/home/zh/Documents/maskfusion/deps/freetype-gl-cpp/external/freetype-gl/shaders/text.frag

Call Stack (most recent call first):
CMakeLists.txt:41 (make_includable)

I am using Ubuntu16.04 and the version of cmake is 3.16
I really hope you can help me. Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions