Can't run cegui + ogre
Posted: Sat Dec 13, 2008 16:23
I am trying to compile and launch cegui+ogre for the whole day and nothing is working... I read lot of posts with many solutions and what I did:
1. I deleted any cegui/ogre includes/sources/dlls/libs, i mean everything...
2. I downloaded and installed OgreSDK v1.6.0 for VC9 (i am using visual c++ 2008 express edition)
3. I downloaded and installed CEGUI-SDK-0.6.2-vc9
4. Both OgreSDK and CEGUISDK with precompiled libs.
5. I deleted all files in OgreSDK/include/CEGUI and copied there files from CEGUISDK/include
6. I deleted OGRESDK/lib/CEGUIBase_d.lib and CEGUIBase.lib
7. I deleted OGRESDK/bin/release/CEGUIBase.dll CEGUIExpatParser.dll CEGUIFalagardWRBase.dll
8. I copied all deleted files above from CEGUISDK
9. I copied CEGUI dll's to my project exe-file dir...
10. my project settings:
AdditionalDependencies
D:\KNTG\OgreSDK\lib\OgreMain_d.lib
D:\KNTG\OgreSDK\lib\CEGUIBase_d.lib
D:\KNTG\OgreSDK\lib\OgreGUIRenderer_d.lib
D:\KNTG\OgreSDK\lib\OIS_d.lib
Additional Include Dirs
D:\KNTG\OgreSDK\include
D:\KNTG\OgreSDK\samples\include
D:\KNTG\OgreSDK\include\CEGUI
At the start of my project which is a sample from ogresdk:
#include <CEGUI/CEGUIImageset.h>
#include <CEGUI/CEGUISystem.h>
#include <CEGUI/CEGUILogger.h>
#include <CEGUI/CEGUISchemeManager.h>
#include <CEGUI/CEGUIWindowManager.h>
#include <CEGUI/CEGUIWindow.h>
#include <CEGUI/CEGUIPropertyHelper.h>
#include <CEGUI/elements/CEGUICombobox.h>
#include <CEGUI/elements/CEGUIListbox.h>
#include <CEGUI/elements/CEGUIListboxTextItem.h>
#include <CEGUI/elements/CEGUIPushButton.h>
#include <CEGUI/elements/CEGUIScrollbar.h>
#include "OgreCEGUIRenderer.h"
#include "OgreCEGUIResourceProvider.h"
#include "ExampleApplication.h"
11. All compiles and links smoothly but at the run time I get message that error occured during loading process:
The procedure entry point ??0InvalidRequestExeption@CEGUI@@QAE@ABVString@1@@Z could not be located in the dynamic link library CEGUIBase_d.dll
Whats wrong and how I can solve this problem?
For example samples from CEGUISDK using glut compiled and ran without any problems so I assume that somthing is wrong in ogre files OgreCEGUIRenderer.h or "OgreCEGUIRenderer.h"
And before I did all those points I used CEGUI with libs,dlls and includes which were included in OGRESDK and everything was ok...
But since OGRESDK does not provide any Lua modules I want to use the latest CEGUI libs from the SDK with OGRE
1. I deleted any cegui/ogre includes/sources/dlls/libs, i mean everything...
2. I downloaded and installed OgreSDK v1.6.0 for VC9 (i am using visual c++ 2008 express edition)
3. I downloaded and installed CEGUI-SDK-0.6.2-vc9
4. Both OgreSDK and CEGUISDK with precompiled libs.
5. I deleted all files in OgreSDK/include/CEGUI and copied there files from CEGUISDK/include
6. I deleted OGRESDK/lib/CEGUIBase_d.lib and CEGUIBase.lib
7. I deleted OGRESDK/bin/release/CEGUIBase.dll CEGUIExpatParser.dll CEGUIFalagardWRBase.dll
8. I copied all deleted files above from CEGUISDK
9. I copied CEGUI dll's to my project exe-file dir...
10. my project settings:
AdditionalDependencies
D:\KNTG\OgreSDK\lib\OgreMain_d.lib
D:\KNTG\OgreSDK\lib\CEGUIBase_d.lib
D:\KNTG\OgreSDK\lib\OgreGUIRenderer_d.lib
D:\KNTG\OgreSDK\lib\OIS_d.lib
Additional Include Dirs
D:\KNTG\OgreSDK\include
D:\KNTG\OgreSDK\samples\include
D:\KNTG\OgreSDK\include\CEGUI
At the start of my project which is a sample from ogresdk:
#include <CEGUI/CEGUIImageset.h>
#include <CEGUI/CEGUISystem.h>
#include <CEGUI/CEGUILogger.h>
#include <CEGUI/CEGUISchemeManager.h>
#include <CEGUI/CEGUIWindowManager.h>
#include <CEGUI/CEGUIWindow.h>
#include <CEGUI/CEGUIPropertyHelper.h>
#include <CEGUI/elements/CEGUICombobox.h>
#include <CEGUI/elements/CEGUIListbox.h>
#include <CEGUI/elements/CEGUIListboxTextItem.h>
#include <CEGUI/elements/CEGUIPushButton.h>
#include <CEGUI/elements/CEGUIScrollbar.h>
#include "OgreCEGUIRenderer.h"
#include "OgreCEGUIResourceProvider.h"
#include "ExampleApplication.h"
11. All compiles and links smoothly but at the run time I get message that error occured during loading process:
The procedure entry point ??0InvalidRequestExeption@CEGUI@@QAE@ABVString@1@@Z could not be located in the dynamic link library CEGUIBase_d.dll
Whats wrong and how I can solve this problem?
For example samples from CEGUISDK using glut compiled and ran without any problems so I assume that somthing is wrong in ogre files OgreCEGUIRenderer.h or "OgreCEGUIRenderer.h"
And before I did all those points I used CEGUI with libs,dlls and includes which were included in OGRESDK and everything was ok...
But since OGRESDK does not provide any Lua modules I want to use the latest CEGUI libs from the SDK with OGRE