getting CEGUI working with VS 2005

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

zehrhand
Just popping in
Just popping in
Posts: 2
Joined: Mon May 05, 2008 16:00
Location: istanbul

getting CEGUI working with VS 2005

Postby zehrhand » Mon May 05, 2008 16:15

Hi
I know i am asking about a very common subject however neither i ve found good tutorials to get CEGUI working nor i could have it working with my effort..Can anyone direct me to a simple CEGUI installation guide(step by step if possible) on VS 2005?

i ve downloaded CEGUI-SDK-0.6.0-vc8.zip and CEGUI-DEPS-0.6.0-vc8.zip , and set the include ,lib directories from the VC++ directories tool..What do i need more?

here are the errors i get while trying to run one of the samples:

Code: Select all

1>------ Build started: Project: textdemo, Configuration: Debug Win32 ------
1>Linking...
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::SubscriberSlot::~SubscriberSlot(void)" (__imp_??1SubscriberSlot@CEGUI@@QAE@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::String const CEGUI::PushButton::EventClicked" (__imp_?EventClicked@PushButton@CEGUI@@2VString@2@B)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::addChildWindow(class CEGUI::Window *)" (__imp_?addChildWindow@Window@CEGUI@@QAEXPAV12@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::loadWindowLayout(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &,bool (__cdecl*)(class CEGUI::Window *,class CEGUI::String &,class CEGUI::String &,void *),void *)" (__imp_?loadWindowLayout@WindowManager@CEGUI@@QAEPAVWindow@2@ABVString@2@00P6A_NPAV32@AAV42@2PAX@Z3@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::System::setGUISheet(class CEGUI::Window *)" (__imp_?setGUISheet@System@CEGUI@@QAEPAVWindow@2@PAV32@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::PropertySet::setProperty(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?setProperty@PropertySet@CEGUI@@QAEXABVString@2@0@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::setSize(class CEGUI::UVector2 const &)" (__imp_?setSize@Window@CEGUI@@QAEXABVUVector2@2@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UDim::~UDim(void)" (__imp_??1UDim@CEGUI@@QAE@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UVector2::~UVector2(void)" (__imp_??1UVector2@CEGUI@@QAE@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Window::setPosition(class CEGUI::UVector2 const &)" (__imp_?setPosition@Window@CEGUI@@QAEXABVUVector2@2@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UVector2::UVector2(class CEGUI::UDim const &,class CEGUI::UDim const &)" (__imp_??0UVector2@CEGUI@@QAE@ABVUDim@1@0@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::UDim::UDim(float,float)" (__imp_??0UDim@CEGUI@@QAE@MM@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::createWindow(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (__imp_?createWindow@WindowManager@CEGUI@@QAEPAVWindow@2@ABVString@2@00@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Imageset * __thiscall CEGUI::ImagesetManager::createImagesetFromImageFile(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (__imp_?createImagesetFromImageFile@ImagesetManager@CEGUI@@QAEPAVImageset@2@ABVString@2@00@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::ImagesetManager & __cdecl CEGUI::Singleton<class CEGUI::ImagesetManager>::getSingleton(void)" (__imp_?getSingleton@?$Singleton@VImagesetManager@CEGUI@@@CEGUI@@SAAAVImagesetManager@2@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::System::setDefaultFont(class CEGUI::String const &)" (__imp_?setDefaultFont@System@CEGUI@@QAEXABVString@2@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Font * __thiscall CEGUI::FontManager::createFont(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?createFont@FontManager@CEGUI@@QAEPAVFont@2@ABVString@2@0@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CEGUI::FontManager::isFontPresent(class CEGUI::String const &)const " (__imp_?isFontPresent@FontManager@CEGUI@@QBE_NABVString@2@@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::FontManager & __cdecl CEGUI::Singleton<class CEGUI::FontManager>::getSingleton(void)" (__imp_?getSingleton@?$Singleton@VFontManager@CEGUI@@@CEGUI@@SAAAVFontManager@2@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::System::setDefaultMouseCursor(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?setDefaultMouseCursor@System@CEGUI@@QAEXABVString@2@0@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::System & __cdecl CEGUI::System::getSingleton(void)" (__imp_?getSingleton@System@CEGUI@@SAAAV12@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::~String(void)" (__imp_??1String@CEGUI@@QAE@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Scheme * __thiscall CEGUI::SchemeManager::loadScheme(class CEGUI::String const &,class CEGUI::String const &)" (__imp_?loadScheme@SchemeManager@CEGUI@@QAEPAVScheme@2@ABVString@2@0@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::SchemeManager & __cdecl CEGUI::Singleton<class CEGUI::SchemeManager>::getSingleton(void)" (__imp_?getSingleton@?$Singleton@VSchemeManager@CEGUI@@@CEGUI@@SAAAVSchemeManager@2@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::String::String(char const *)" (__imp_??0String@CEGUI@@QAE@PBD@Z) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::WindowManager & __cdecl CEGUI::Singleton<class CEGUI::WindowManager>::getSingleton(void)" (__imp_?getSingleton@?$Singleton@VWindowManager@CEGUI@@@CEGUI@@SAAAVWindowManager@2@XZ) referenced in function "public: virtual bool __thiscall TextDemo::initialiseSample(void)" (?initialiseSample@TextDemo@@UAE_NXZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::String const CEGUI::RadioButton::EventSelectStateChanged" (__imp_?EventSelectStateChanged@RadioButton@CEGUI@@2VString@2@B)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::String const CEGUI::Checkbox::EventCheckStateChanged" (__imp_?EventCheckStateChanged@Checkbox@CEGUI@@2VString@2@B)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Editbox::setTextMasked(bool)" (__imp_?setTextMasked@Editbox@CEGUI@@QAEX_N@Z) referenced in function "private: void __thiscall TextDemo::initSingleLineEdit(void)" (?initSingleLineEdit@TextDemo@@AAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::Editbox::setValidationString(class CEGUI::String const &)" (__imp_?setValidationString@Editbox@CEGUI@@QAEXABVString@2@@Z) referenced in function "private: void __thiscall TextDemo::initSingleLineEdit(void)" (?initSingleLineEdit@TextDemo@@AAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CEGUI::Window * __thiscall CEGUI::WindowManager::getWindow(class CEGUI::String const &)const " (__imp_?getWindow@WindowManager@CEGUI@@QBEPAVWindow@2@ABVString@2@@Z) referenced in function "private: void __thiscall TextDemo::initSingleLineEdit(void)" (?initSingleLineEdit@TextDemo@@AAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CEGUI::WindowManager::isWindowPresent(class CEGUI::String const &)const " (__imp_?isWindowPresent@WindowManager@CEGUI@@QBE_NABVString@2@@Z) referenced in function "private: void __thiscall TextDemo::initSingleLineEdit(void)" (?initSingleLineEdit@TextDemo@@AAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::RadioButton::setSelected(bool)" (__imp_?setSelected@RadioButton@CEGUI@@QAEX_N@Z) referenced in function "private: void __thiscall TextDemo::initRadio(class CEGUI::String const &,int,bool)" (?initRadio@TextDemo@@AAEXABVString@CEGUI@@H_N@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::RadioButton::setGroupID(unsigned long)" (__imp_?setGroupID@RadioButton@CEGUI@@QAEXK@Z) referenced in function "private: void __thiscall TextDemo::initRadio(class CEGUI::String const &,int,bool)" (?initRadio@TextDemo@@AAEXABVString@CEGUI@@H_N@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGUI::RefCounted<class CEGUI::BoundSlot>::~RefCounted<class CEGUI::BoundSlot>(void)" (__imp_??1?$RefCounted@VBoundSlot@CEGUI@@@CEGUI@@QAE@XZ) referenced in function "private: void __thiscall TextDemo::subscribeEvent(class CEGUI::String const &,class CEGUI::String const &,class CEGUI::SubscriberSlot const &)" (?subscribeEvent@TextDemo@@AAEXABVString@CEGUI@@0ABVSubscriberSlot@3@@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CEGUI::RadioButton::isSelected(void)const " (__imp_?isSelected@RadioButton@CEGUI@@QBE_NXZ) referenced in function "private: bool __thiscall TextDemo::isRadioSelected(class CEGUI::String const &)" (?isRadioSelected@TextDemo@@AAE_NABVString@CEGUI@@@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CEGUI::Checkbox::isSelected(void)const " (__imp_?isSelected@Checkbox@CEGUI@@QBE_NXZ) referenced in function "private: bool __thiscall TextDemo::isCheckboxSelected(class CEGUI::String const &)" (?isCheckboxSelected@TextDemo@@AAE_NABVString@CEGUI@@@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CEGUI::MultiLineEditbox::setShowVertScrollbar(bool)" (__imp_?setShowVertScrollbar@MultiLineEditbox@CEGUI@@QAEX_N@Z) referenced in function "private: bool __thiscall TextDemo::vertScrollChangedHandler(class CEGUI::EventArgs const &)" (?vertScrollChangedHandler@TextDemo@@AAE_NABVEventArgs@CEGUI@@@Z)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CEGuiSample::run(void)" (__imp_?run@CEGuiSample@@QAEHXZ) referenced in function _main
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGuiSample::CEGuiSample(void)" (__imp_??0CEGuiSample@@QAE@XZ) referenced in function "public: __thiscall TextDemo::TextDemo(void)" (??0TextDemo@@QAE@XZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall CEGuiSample::initialise(void)" (?initialise@CEGuiSample@@MAE_NXZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGuiSample::cleanup(void)" (?cleanup@CEGuiSample@@MAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CEGuiSample::~CEGuiSample(void)" (__imp_??1CEGuiSample@@UAE@XZ) referenced in function "public: virtual __thiscall TextDemo::~TextDemo(void)" (??1TextDemo@@UAE@XZ)
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Documents and Settings\KOtu\Belgelerim\Visual Studio 2005\Projects\textdemo\Debug\textdemo.exe : fatal error LNK1120: 44 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\KOtu\Belgelerim\Visual Studio 2005\Projects\textdemo\textdemo\Debug\BuildLog.htm"
1>textdemo - 45 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


i would appreciate any help..

MrDoom
Just popping in
Just popping in
Posts: 12
Joined: Sun May 04, 2008 00:24

Postby MrDoom » Mon May 05, 2008 16:34

You need to add the lib files to your dependency list under the "Linker" option for your project settings. See this.

zehrhand
Just popping in
Just popping in
Posts: 2
Joined: Mon May 05, 2008 16:00
Location: istanbul

Postby zehrhand » Mon May 05, 2008 18:03

i added "d3d9.lib d3dx9.lib winmm.lib CEGUIBase.lib DirectX9GUIRenderer.lib" to my project's linker->input->additional dependencies and still get 7 errors..any idea?

Code: Select all

1>------ Rebuild All started: Project: textdemo, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'textdemo', configuration 'Debug|Win32'
1>Compiling...
1>Sample_Text.cpp
1>c:\cegui-sdk-0.6.0-vc8\include\elements\ceguitreeitem.h(570) : warning C4251: 'CEGUI::TreeItem::d_listItems' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'CEGUI::TreeItem'
1>        with
1>        [
1>            _Ty=CEGUI::TreeItem *
1>        ]
1>Compiling manifest to resources...
1>Linking...
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CEGuiSample::run(void)" (__imp_?run@CEGuiSample@@QAEHXZ) referenced in function _main
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CEGuiSample::CEGuiSample(void)" (__imp_??0CEGuiSample@@QAE@XZ) referenced in function "public: __thiscall TextDemo::TextDemo(void)" (??0TextDemo@@QAE@XZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall CEGuiSample::initialise(void)" (?initialise@CEGuiSample@@MAE_NXZ)
1>Sample_Text.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGuiSample::cleanup(void)" (?cleanup@CEGuiSample@@MAEXXZ)
1>Sample_Text.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CEGuiSample::~CEGuiSample(void)" (__imp_??1CEGuiSample@@UAE@XZ) referenced in function "public: virtual __thiscall TextDemo::~TextDemo(void)" (??1TextDemo@@UAE@XZ)
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Documents and Settings\KOtu\Belgelerim\Visual Studio 2005\Projects\textdemo\Debug\textdemo.exe : fatal error LNK1120: 6 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\KOtu\Belgelerim\Visual Studio 2005\Projects\textdemo\textdemo\Debug\BuildLog.htm"
1>textdemo - 7 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

StillmatikX
Just popping in
Just popping in
Posts: 5
Joined: Sun May 04, 2008 04:55

Same problem......using Vista with DX10 though

Postby StillmatikX » Wed May 07, 2008 21:46

Hey guys,
I'm in a programming competition, the submission deadline is tomorrow, and I am pretty desparate. Anyway, I am trying to create a mainmenu screen for my game. I just downloaded the cegui 0.6.0 sdk and did what I believe to have been the proper configurations but I am running into this runtime error:

Code: Select all

The procedure entry point
?createWindow@WindowManager@CEGUI@@QAEPAVWindow@2@A
BVString@2@00@Z could not be located in the dynamic link library CEGUIBase_d.dll


I have no idea why this is happening since I was able to create windows before I downloaded the prebuilt SDK and I am including the CEGUI_Static_d.lib file in my working directory, which doesn't seem to have a corresponding .dll file, along with the other dlls included in the SDK download (figuring that whatever was needed might be there). I noticed that CEGUI used DX9 whereas my Vista Operating system uses DX10. I'm not sure how backwards compatible DX is. I've searched through the forums trying out the different things I could find to no avail. Could you help me understand what libraries, header files, and dlls I need to link to or include in my working directory so that I can use the basic CEGUI functionality like the demos. I would greatly appreciate any and all help that could provide. Thanks.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Thu May 08, 2008 06:58

Hi,

if you are using the static libraries, then you should compile your own application with the CEGUI_STATIC preprocessing option.

HTH.
Check out my released snake game using Cegui!

StillmatikX
Just popping in
Just popping in
Posts: 5
Joined: Sun May 04, 2008 04:55

Issue with D3D9

Postby StillmatikX » Thu May 08, 2008 20:38

Is it necessary to have Direct3D9. I just tried building CEGUI from source and all of the projects in the CEGUI solution build fine except for the RenderModules project which complains about not being able to locate the "d3d9.h" file. I've looked throughout my computer and I can't seem to find this file anywhere. I'm guessing its because I am running Vista which uses DirectX10 which I believe might have like d3d10.h files and the like. Anyway, I think that because this project won't build, there is no OgreRenderer folder being created, which based on CE's comments in another post, I need to build this project after it is created. There is an IrrlichtRenderer folder, though, so that is a bit weird. Has anyone else had any problems getting CEGUI to work on Vista using MSVS2005???????

StillmatikX
Just popping in
Just popping in
Posts: 5
Joined: Sun May 04, 2008 04:55

HAS ANYONE BEEN ABLE TO GET CEGUI TO RUN ON VISTA???????????

Postby StillmatikX » Fri May 09, 2008 00:07

I've been doing everything I can think of including downloading the dx9 sdk and adding its include and library folders to my build/link path and I can't get CEGUI to work. I can't even build the DX9Renderer project which I believe is affecting the CEGUIBase(_d).dll that it causing runtime problems for me. HAS ANYONE BEEN ABLE TO GET CEGUI TO WORK ON VISTA SO THAT I CAN KNOW WHETHER OR NOT I AM WASTING MY TIME TRYING TO DO SO?????

MrDoom
Just popping in
Just popping in
Posts: 12
Joined: Sun May 04, 2008 00:24

Postby MrDoom » Fri May 09, 2008 19:58

I have had it working on Vista.

For me it was just a case of downloading the source, downloading the dependences and then adding my DXSDK path to the DX9Renderer project and pressing build.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 21 guests