Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Working out with CEGUI

Author
Message
Xero_
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 23rd May 2009 14:44 Edited at: 23rd May 2009 17:03
Hello.

I'm trying to make CEGUI work for me with Dark GDK. I read this topic first before trying it: http://forum.thegamecreators.com/?m=forum_view&t=150376&b=22

Then I coded it to my test application:



Then, on my linker additional dependencies, I added:
CEGUIBase.lib d3dx9.lib DirectX9GUIRenderer.lib

My program compiled fine. The problem is I get an exception while calling new CEGUI::System( myRenderer ); (Unhandled exception at 0x773d42eb in 2d-Test2.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x0023edbc..)

Did I do everything right? Shouldn't it work? Please, I need help!

[href]null[/href]
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd May 2009 16:59 Edited at: 23rd May 2009 17:00
The only thing I can think of is that CEGUI was compiled with a different version of the directx 9 SDK than you are using.

edit:
I would have thought that you'd need d3d9.lib too...

Xero_
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 23rd May 2009 17:14
I have the feeling that the problem can be it. But, if CEGUI uses a different version of DX, and Dark GDK only works with one DX SDK, how can I make it work with Dark GDK?

On the link I posted above, the user made it sucessfully.

What should I do?
Thanks
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 24th May 2009 01:30
You get the source for SDK and all it's dependancys and you compile it using the direct x version of your choice!

I <3 C++ & Dark GDK 4 2 maek mai gamezorz! =D
Xero_
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 24th May 2009 07:14
I downloaded the sources here. But I have no clue how to compile them for Visual C++ 9 with my DirectX version

I searched on CEGUI site but didn't find anything clarifying.

Could anyone help me please?

Thanks again
Xgame101
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: Michigan
Posted: 8th Aug 2009 02:24
OK, I was just wondering if anyone has gotten a good CeGUI wrapper put together ? If so that will make things sooo much easier on me. If not.. I guess I'll have to learn how to wrap it up

Xgame101
1024 Studios

Login to post a reply

Server time is: 2024-10-01 01:19:57
Your offset time is: 2024-10-01 01:19:57