compiling "The Main Menu" HOW-TO

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Tue Jan 08, 2008 14:40

Hi,

This doesn't make a whole lot of sense. Have you been able to compile and run the code for the CEGUI samples at all?

Which version of Irrlicht SDK are you using? It could be related to a mismatch between the version used to build the CEGUI SDK and the one you're using in your app.

CE.

Yustme
Just popping in
Just popping in
Posts: 11
Joined: Sat Jan 05, 2008 23:03

Postby Yustme » Tue Jan 08, 2008 14:57

CrazyEddie wrote:Hi,

This doesn't make a whole lot of sense. Have you been able to compile and run the code for the CEGUI samples at all?

Which version of Irrlicht SDK are you using? It could be related to a mismatch between the version used to build the CEGUI SDK and the one you're using in your app.

CE.


Hi CE,

I can only run the samples (after adding d3dx9d_31.dll in the same path of the samples) which are in this path:

D:\CEGUI-SDK-0.5.0b-vc8\bin

I can compile the samples but i can't run them. It will start complaining about some missing dll's.

The first one it complains about is the MSVCP71D.dll. After adding this dll into the project, it starts complaining about another one.

I don't know how long this will go on, but i stopped looking for all dll's.

I am using the irrlicht 1.4 engine. The official one from the main website of irrlicht.

Any chance you can provide me the needed dll's for the samples to run?

Thanks in advance!

YM.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Tue Jan 08, 2008 18:58

Jeez, the whole situation with dlls is a total shambles. I must apologise; you can tell my head was somewhere else back when I was doing those SDKs.

I'm not sure of the full list of dlls you'd need, and it's not really the 'right' fix (though I understand at the moment all you want to do is to get the thing to work!)

Yustme wrote:I am using the irrlicht 1.4 engine. The official one from the main website of irrlicht.

I would bet you a thousand of your credits ( :? ) that this is where the issue lays. The pre-built SDK was compiled against 1.2 (which was the latest at the time IIRC).

The best option would be to rebuild CEGUI - the other issue you then have is that Irrlicht made breaking changes between 1.2 and 1.4 which means you need the latest SVN code (which is yet to be tested with Irrlicht on Windows AFAIK). Though you'll also have to deal with the fact that the dependency packages are messed up.

Man this is really terrible :oops:

CE.

Yustme
Just popping in
Just popping in
Posts: 11
Joined: Sat Jan 05, 2008 23:03

Postby Yustme » Tue Jan 08, 2008 20:21

Hi CE,

Finally found the problem ha :D

The solutions you mentions are kind of looking hopeless to me. There is no way i can update the irrlichtrenderer from 1.2 to 1.4. Just started with irrlicht 6 weeks ago.

At least we tried, right :D

Thank you very much for your time and help CE :wink:

YM.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Wed Jan 09, 2008 09:17

Hi,

The required changes to get the new Irrlicht working are generally updates to function signatures here and there, the code itself pretty much stays the same. I understand your reluctance to tackle such updates and big re-compiling jobs being new to both Irrlicht and CEGUI.

With any good fortune there will be a new updated CEGUI release fairly soon; hopefully you will be willing to come back and check us out again once we have new versions issued :)

CE.

Yustme
Just popping in
Just popping in
Posts: 11
Joined: Sat Jan 05, 2008 23:03

Postby Yustme » Wed Jan 09, 2008 11:32

Hi CE,

Actually, never left :D

My game project at the moment is just for checking out the possibilities with 3d and physics engines. Just learning how to use them. Nothing official yet.

My next game is going to be a 3rd person shooter game, where I will be needing all these engines again, including CEGUI.

That code snippet "The Main Menu" was a really good one. Easy to implement and it had an event handling example (btw, i thought it was in the HOW-TO section).

So you see why I never left :P

About the update, if thats all that has to be done, updating the function signatures, then I'll look in to it asap (when i got AI working).

Thanks again :D

YM


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests