[Solved] Compiling MyGUI

yostwade

03-04-2009 11:20:34

Hi there,

I'm trying to use mygui for a game in development (duh), but i can't seem to get mygui to build correctly. I keep getting linker errors (unresolved symbols):

Error 1 error LNK2019: unresolved external symbol __imp__FT_Done_FreeType referenced in function "protected: void __thiscall MyGUI::Font::loadResourceTrueType(class Ogre::Resource *)" (?loadResourceTrueType@Font@MyGUI@@IAEXPAVResource@Ogre@@@Z) MyGUI_Font.obj MyGUIEngine
Error 2 error LNK2019: unresolved external symbol __imp__FT_Load_Char referenced in function "protected: void __thiscall MyGUI::Font::loadResourceTrueType(class Ogre::Resource *)" (?loadResourceTrueType@Font@MyGUI@@IAEXPAVResource@Ogre@@@Z) MyGUI_Font.obj MyGUIEngine
Error 3 error LNK2019: unresolved external symbol __imp__FT_Set_Char_Size referenced in function "protected: void __thiscall MyGUI::Font::loadResourceTrueType(class Ogre::Resource *)" (?loadResourceTrueType@Font@MyGUI@@IAEXPAVResource@Ogre@@@Z) MyGUI_Font.obj MyGUIEngine
Error 4 error LNK2019: unresolved external symbol __imp__FT_New_Memory_Face referenced in function "protected: void __thiscall MyGUI::Font::loadResourceTrueType(class Ogre::Resource *)" (?loadResourceTrueType@Font@MyGUI@@IAEXPAVResource@Ogre@@@Z) MyGUI_Font.obj MyGUIEngine
Error 5 error LNK2019: unresolved external symbol __imp__FT_Init_FreeType referenced in function "protected: void __thiscall MyGUI::Font::loadResourceTrueType(class Ogre::Resource *)" (?loadResourceTrueType@Font@MyGUI@@IAEXPAVResource@Ogre@@@Z) MyGUI_Font.obj MyGUIEngine


I have compiled Freetype 235 in vs2008 en placed the libs in the correct directory. I even tried to use the 239 libs, also get the same errors.
Anybody has any thoughts on how to solve these ?

Thanks, Cherio! :)

yostwade

03-04-2009 20:09:59

So ... i solved it by deleting a few include and lib entries in vs.net.