No lib Dictionary in MyGUI

SilentDRagon

29-03-2010 13:31:03

Hy all,

i loaded the new MyGUI source (3.0.1) from sourceforge, the depencies (Freetype and OIS) compield them, copied them into the MyGUI 3.0 Dictionary and used CMake ...
My CMake output:

Configuring MYGUI 3.0.1
Looking for FREETYPE...
Found FREETYPE: optimized;C:/Programmieren/C++/Libs/MyGUI3.0/Dependencies/lib/release/freetype2311.lib;debug;C:/Programmieren/C++/Libs/MyGUI3.0/Dependencies/lib/debug/freetype2311_D.lib
Looking for OGRE...
Found Ogre Shoggoth (1.6.5)
Found OGRE: optimized;C:/Programmieren/C++/Libs/OgreSDK/lib/OgreMain.lib;debug;C:/Programmieren/C++/Libs/OgreSDK/lib/OgreMain_d.lib
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/release/OgrePaging.lib;debug;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/debug/OgrePaging_d.lib
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/release/OgreTerrain.lib;debug;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/debug/OgreTerrain_d.lib
Looking for OGRE_Property...
Found OGRE_Property: optimized;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/release/OgreProperty.lib;debug;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/debug/OgreProperty_d.lib
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/release/OgreRTShaderSystem.lib;debug;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/debug/OgreRTShaderSystem_d.lib
Looking for OIS...
Found OIS: optimized;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/release/OIS.lib;debug;C:/Programmieren/C++/Libs/OgreSDK_vc9_v1-7-0/lib/debug/OIS_d.lib
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ freetype
+ ogre
+ OIS
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ Doxygen: Tool for building API documentation <http://doxygen.org>
-----------------------------------------------------------------------------

Configuring done


now i wanted to use MyGUI with Ogre, but can't insert the lib path as there is no Lib folder in my MyGUI 3.0 folder. oO
i hope you can help me,
SD

EDIT: now i generated with CMake a new MyGUI Folder, there i can find the lib files, but not the include files in MyGUIEngine folder, so i used the new Folder(the one i created with CMake) for the lib files and the old folder for the Include files. When i try to use MyGUI in my project i get following error -.- :
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall MyGUI::OgreDataManager::OgreDataManager(void)" (??0OgreDataManager@MyGUI@@QAE@XZ)" in Funktion ""public: __thiscall MyGUI::OgrePlatform::OgrePlatform(void)" (??0OgrePlatform@MyGUI@@QAE@XZ)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall MyGUI::OgreRenderManager::OgreRenderManager(void)" (??0OgreRenderManager@MyGUI@@QAE@XZ)" in Funktion ""public: __thiscall MyGUI::OgrePlatform::OgrePlatform(void)" (??0OgrePlatform@MyGUI@@QAE@XZ)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall MyGUI::OgreDataManager::initialise(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?initialise@OgreDataManager@MyGUI@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)" in Funktion ""public: void __thiscall MyGUI::OgrePlatform::initialise(class Ogre::RenderWindow *,class Ogre::SceneManager *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?initialise@OgrePlatform@MyGUI@@QAEXPAVRenderWindow@Ogre@@PAVSceneManager@4@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall MyGUI::OgreRenderManager::initialise(class Ogre::RenderWindow *,class Ogre::SceneManager *)" (?initialise@OgreRenderManager@MyGUI@@QAEXPAVRenderWindow@Ogre@@PAVSceneManager@4@@Z)" in Funktion ""public: void __thiscall MyGUI::OgrePlatform::initialise(class Ogre::RenderWindow *,class Ogre::SceneManager *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?initialise@OgrePlatform@MyGUI@@QAEXPAVRenderWindow@Ogre@@PAVSceneManager@4@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2@Z)".
1>C:\Programmieren\C++\Proggs\OgreTest\Debug\OgreTest.exe : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
1>Das Buildprotokoll wurde unter "file://c:\Programmieren\C++\Proggs\OgreTest\OgreTest\Debug\BuildLog.htm" gespeichert.
1>OgreTest - 5 Fehler, 5 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

I copied the MyGUIEngine_d.dll from the bin ordner and inserted the Path to the MyGUI_Media folder in resources.cfg but i couldn't find a MyGUI.Ogreplatform_d.dll in this folder (if i need such file).
What did i wrong ?!

xadh00m

29-03-2010 15:12:24

Yes, the cmaked folder creates the project which you compile. The include files are staying in their original folder.

You are encountering linker errors here. To solve them add the appropriate lib file to your project settings. The dll are needed at runtime when you start the progrma.

xad

SilentDRagon

29-03-2010 17:02:15

thx prolem solved ^^