Rc2 and wiki tutorials

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

dmail
Quite a regular
Quite a regular
Posts: 46
Joined: Mon Nov 27, 2006 16:49

Rc2 and wiki tutorials

Postby dmail » Tue Nov 28, 2006 13:07

Im trying to build a simple window into my app using The_Beginner_Guide_to_Creating_a_CEGUI_Window wiki entry as a reference and the rc2 build. Has this build invalidated the tutorial? would the stable release be correct for these tutorials?
fWnd->setPosition( Point( 0.25f, 0.25f ) );
fWnd->setSize( Size( 0.5f, 0.5f ) );

Generates an error as Point and Size are unrelated types compared to type UVector2 and there is no cast operator.

[edit]
Never mind I used the macro for the dim create and now get linker errors. This is taking far too long and I will look for another alternative to the library ;(

[edit edit]
That sounds a bit harsh.
I have heard many good things about the library, but the setting up of it I have heard bad comments made on forums. At the present I just wanted something quick to plugin and have so far spend the best part of a day and a half and still have no output. When I have more time I may well return to this gui(as I dont like to be beaten lol).

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Tue Nov 28, 2006 14:07

I have to update all my Wiki entries to RC2. I've been too busy "researching" drag and drop in a game, yes, that's it, that's what I was doing!

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 » Tue Nov 28, 2006 19:40

Hello dmail,

sorry to hear all this. Have you tried to run and modify one of the samples as a start? Maybe something is not right in your folder setup or something...

dmail
Quite a regular
Quite a regular
Posts: 46
Joined: Mon Nov 27, 2006 16:49

Postby dmail » Wed Nov 29, 2006 15:01

Well the attraction of using this gui and with the determination not to give up(after a nights sleep), I have now integrated it into my game,well I have a hello world type window in my menu :) .

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 Nov 30, 2006 09:24

Okay congratulations :-)

Klaim
Just popping in
Just popping in
Posts: 1
Joined: Tue Jul 11, 2006 13:46

Postby Klaim » Thu Dec 07, 2006 11:33

Hello!

Is the wiki tutorials updated to 0.5.0b RC2 today?

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 Dec 07, 2006 12:57

Hello,

most of them should be, because not all functionality gets hit during version progress. My advice is to refer to the sample code (which is 0.5 compatible) when you find some tutorial code to be not compiling or something, and have a look at how things are done 'today'.

You might find differences in event handling (mainly setup) and scripting.

HTH.

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Thu Dec 07, 2006 19:40

And if you find on tutorial that does not compile, and fix it, please also fix the wiki tutorial. But beware, once you start updating existing tutorials it won't be long before you start creating new ones!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 25 guests