[osg-users] [build] Problem during generating the exectable files with VS 2012 :: Link2019 Error

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Mon Aug 8 10:37:58 PDT 2016



Hi Udo,
> Hi Sebastian,
> it is still running, but I just got following error 1 min ago:
Please try to abstract the problem and its solution from your first 
problem. It is again a missing/wrong library.
Also, if you don't need freetype, feel free to remove it by removing 
freetype link and include libraries in the cmake gui..
Cheers
Sebastian
>
>
> Code:
>
> FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Done_Face" in Funktion ""public: virtual __cdecl FreeTypeFont::~FreeTypeFont(void)" (??1FreeTypeFont@@UEAA at XZ)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Set_Pixel_Sizes" in Funktion ""protected: void __cdecl FreeTypeFont::init(void)" (?init at FreeTypeFont@@IEAAXXZ)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Load_Char" in Funktion ""public: virtual class osgText::Glyph3D * __cdecl FreeTypeFont::getGlyph3D(unsigned int)" (?getGlyph3D at FreeTypeFont@@UEAAPEAVGlyph3D at osgText@@I at Z)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Get_Kerning" in Funktion ""public: virtual class osg::Vec2f __cdecl FreeTypeFont::getKerning(unsigned int,unsigned int,enum osgText::KerningType)" (?getKerning at FreeTypeFont@@UEAA?AVVec2f at osg@@IIW4KerningType at osgText@@@Z)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Get_Char_Index" in Funktion ""public: virtual class osg::Vec2f __cdecl FreeTypeFont::getKerning(unsigned int,unsigned int,enum osgText::KerningType)" (?getKerning at FreeTypeFont@@UEAA?AVVec2f at osg@@IIW4KerningType at osgText@@@Z)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Outline_Decompose" in Funktion ""public: virtual class osgText::Glyph3D * __cdecl FreeTypeFont::getGlyph3D(unsigned int)" (?getGlyph3D at FreeTypeFont@@UEAAPEAVGlyph3D at osgText@@I at Z)".
> 211>FreeTypeFont.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Outline_Get_BBox" in Funktion ""public: virtual class osgText::Glyph3D * __cdecl FreeTypeFont::getGlyph3D(unsigned int)" (?getGlyph3D at FreeTypeFont@@UEAAPEAVGlyph3D at osgText@@I at Z)".
> 211>FreeTypeLibrary.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Init_FreeType" in Funktion ""protected: __cdecl FreeTypeLibrary::FreeTypeLibrary(void)" (??0FreeTypeLibrary@@IEAA at XZ)".
> 211>FreeTypeLibrary.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Done_FreeType" in Funktion ""public: virtual __cdecl FreeTypeLibrary::~FreeTypeLibrary(void)" (??1FreeTypeLibrary@@UEAA at XZ)".
> 211>FreeTypeLibrary.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_New_Face" in Funktion ""protected: bool __cdecl FreeTypeLibrary::getFace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,struct FT_FaceRec_ * &)" (?getFace at FreeTypeLibrary@@IEAA_NAEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@IAEAPEAUFT_FaceRec_@@@Z)".
> 211>FreeTypeLibrary.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Open_Face" in Funktion ""protected: unsigned char * __cdecl FreeTypeLibrary::getFace(class std::basic_istream<char,struct std::char_traits<char> > &,unsigned int,struct FT_FaceRec_ * &)" (?getFace at FreeTypeLibrary@@IEAAPEAEAEAV?$basic_istream at DU?$char_traits at D@std@@@std@@IAEAPEAUFT_FaceRec_@@@Z)".
> 211>FreeTypeLibrary.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "FT_Set_Charmap" in Funktion ""protected: bool __cdecl FreeTypeLibrary::getFace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,struct FT_FaceRec_ * &)" (?getFace at FreeTypeLibrary@@IEAA_NAEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@IAEAPEAUFT_FaceRec_@@@Z)".
> 211>C:\Users\Udo\Documents\Entwicklung\OpenSceneGraph-3.4.0\bin\bin\osgPlugins-3.4.0\osgdb_freetype.dll : fatal error LNK1120: 12 nicht aufgelöste Externe
> 210>  dxfFile.cpp
>
>
>
>
> Is it of need to interupt it again? Or do I have a chance that it will be usable? Cause It really runs the last hours ...
In this case get a new computer ;-) Usually I'm compiling osg in release 
and debug in under one hour.

>
> thanks in advance
> Udo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68312#68312
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list