1>------ 已启动生成: 项目: TKService, 配置: Debug x64 ------
1> 正在创建库 ..\..\..\win64\vc14\libd\TKService.lib 和对象 ..\..\..\win64\vc14\libd\TKService.exp
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_New_Face,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FontMgr.obj : error LNK2001: 无法解析的外部符号 __imp_vtk_freetype_FT_New_Face
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_New_Memory_Face,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Done_Face,该符号在函数 "public: virtual void __cdecl Font_FTFont::Release(void)" (?Release@Font_FTFont@@UEAAXXZ) 中被引用
1>Font_FontMgr.obj : error LNK2001: 无法解析的外部符号 __imp_vtk_freetype_FT_Done_Face
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Set_Char_Size,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Load_Char,该符号在函数 "public: bool __cdecl Font_FTFont::RenderGlyph(char32_t)" (?RenderGlyph@Font_FTFont@@QEAA_N_U@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Set_Transform,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Get_Kerning,该符号在函数 "protected: bool __cdecl Font_FTFont::getKerning(struct FT_Vector_ &,char32_t,char32_t)const " (?getKerning@Font_FTFont@@IEBA_NAEAUFT_Vector_@@_U1@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Select_Charmap,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FontMgr.obj : error LNK2001: 无法解析的外部符号 __imp_vtk_freetype_FT_Select_Charmap
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Get_Char_Index,该符号在函数 "public: bool __cdecl Font_FTFont::HasSymbol(char32_t)const " (?HasSymbol@Font_FTFont@@QEBA_N_U@Z) 中被引用
1>Font_FTFont.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_MulFix,该符号在函数 "public: bool __cdecl Font_FTFont::Init(class opencascade::handle<class NCollection_Buffer> const &,class TCollection_AsciiString const &,struct Font_FTFontParams const &,int)" (?Init@Font_FTFont@@QEAA_NAEBV?$handle@VNCollection_Buffer@@@opencascade@@AEBVTCollection_AsciiString@@AEBUFont_FTFontParams@@H@Z) 中被引用
1>Font_FTLibrary.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Init_FreeType,该符号在函数 "public: __cdecl Font_FTLibrary::Font_FTLibrary(void)" (??0Font_FTLibrary@@QEAA@XZ) 中被引用
1>Font_FTLibrary.obj : error LNK2019: 无法解析的外部符号 __imp_vtk_freetype_FT_Done_FreeType,该符号在函数 "public: virtual __cdecl Font_FTLibrary::~Font_FTLibrary(void)" (??1Font_FTLibrary@@UEAA@XZ) 中被引用
1>.\..\..\..\win64\vc14\bind\TKService.dll : fatal error LNK1120: 12 个无法解析的外部命令
1>已完成生成项目“TKService.vcxproj”的操作 - 失败。

error LNK2019: 无法解析的外部符号
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
关注
不知道你这个问题是否已经解决, 如果还没有解决的话:- 文章:遇到 error LNK2019: 无法解析的外部符号 中也许有你想要的答案,请看下吧
如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 以帮助更多的人 ^-^本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 1无用