I git cloned the repo into local directory "oce" on Mac Catalina, created "build" subdirectory, ran "cmake --build ../build" within the "build" subdirectory, and encountered the below:
Undefined symbols for architecture x86_64:
"_FT_Done_Face", referenced from:
Font_FTFont::Release() in Font_FTFont.o
checkFont(Handle_Font_FTLibrary const&, char const*) in Font_FontMgr.o
"_FT_Done_FreeType", referenced from:
Font_FTLibrary::~Font_FTLibrary() in Font_FTLibrary.o
"_FT_Get_Kerning", referenced from:
Font_FTFont::AdvanceX(unsigned int) in Font_FTFont.o
Font_FTFont::AdvanceY(unsigned int) in Font_FTFont.o
"_FT_Init_FreeType", referenced from:
Font_FTLibrary::Font_FTLibrary() in Font_FTLibrary.o
"_FT_Load_Char", referenced from:
Font_FTFont::loadGlyph(unsigned int) in Font_FTFont.o
Font_FTFont::RenderGlyph(unsigned int) in Font_FTFont.o
"_FT_New_Face", referenced from:
Font_FTFont::Init(NCollection_UtfString<char> const&, unsigned int, unsigned int) in Font_FTFont.o
checkFont(Handle_Font_FTLibrary const&, char const*) in Font_FontMgr.o
"_FT_Select_Charmap", referenced from:
Font_FTFont::Init(NCollection_UtfString<char> const&, unsigned int, unsigned int) in Font_FTFont.o
checkFont(Handle_Font_FTLibrary const&, char const*) in Font_FontMgr.o
"_FT_Set_Char_Size", referenced from:
Font_FTFont::Init(NCollection_UtfString<char> const&, unsigned int, unsigned int) in Font_FTFont.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems include_directories(${FREETYPE_INCLUDE_DIRS}) and target_link_libraries(mycad ${FREETYPE_LIBRARIES}) are not effective.
I git cloned the repo into local directory "oce" on Mac Catalina, created "build" subdirectory, ran "cmake --build ../build" within the "build" subdirectory, and encountered the below:
It seems include_directories(${FREETYPE_INCLUDE_DIRS}) and target_link_libraries(mycad ${FREETYPE_LIBRARIES}) are not effective.
"cmake -LA --build ../build .. | grep FREETYPE" returns