can't compile OGRE Renderer

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Alyph
Just popping in
Just popping in
Posts: 1
Joined: Fri Jan 21, 2005 13:17

can't compile OGRE Renderer

Postby Alyph » Fri Jan 21, 2005 13:43

the compiler ( I used VC 7.1 ) pointed out these errors:

in OgreGUIRenderer\ogretexture.cpp line 78, the type of "Ogre::ResourcePtr" cannot be transfered to "Ogre::Texture *"

in OgreGUIRenderer\ogretexture.cpp line 127, have no such identification - "datachunk"

...many such error occured in all three cpps in OgreGUIRenderer :(

and I searched in ogre engine, and I do find no such type, struct or class named" datachunk " in its namespace.

I use WinCvs to download the source codes of CEGUI. Does that mean I didn't down the latest codes or the new version of OGRE delete the type of "datachunk"? and How does the error type transfering? Please Help me!! :idea:

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

Re: can't compile OGRE Renderer

Postby CrazyEddie » Fri Jan 21, 2005 14:14

Currenly we are only compatible with the Ogre 'Hastur' (0.15.x) series of releases, and not the unstable CVS-HEAD. Once the major changes currently being made to Ogre are completed and things begin to settle down again, the GUI renderer for Ogre will be updated appropriately.

CE.

User avatar
_mental_
CEGUI Team (Retired)
Posts: 157
Joined: Wed Jan 12, 2005 12:06
Contact:

Re: can't compile OGRE Renderer

Postby _mental_ » Fri Jan 21, 2005 15:47

The changes in OGRE CVS-HEAD have pretty much stabilized and I'm getting ready to make the appropriate changes to CEGUI.

CE, since there's already a formal release of CEGUI do you mind if I commit the required changes to CVS HEAD?

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

Re: can't compile OGRE Renderer

Postby CrazyEddie » Fri Jan 21, 2005 19:05

_mental_ wrote:
CE, since there's already a formal release of CEGUI do you mind if I commit the required changes to CVS HEAD?

No, that'll be fine; go ahead. I just request that you add a tag prior to the commit for those changes, so I can easily find the last version of the files prior to the changes :)

CE.

User avatar
Spoke
Quite a regular
Quite a regular
Posts: 48
Joined: Wed Jan 12, 2005 12:06
Location: Spain
Contact:

Re: can't compile OGRE Renderer

Postby Spoke » Fri Jan 21, 2005 20:19

Hi guys!

I just finish doing this, and if you want I can provide a patch for you to review. ;)
May the Force be with you!

User avatar
_mental_
CEGUI Team (Retired)
Posts: 157
Joined: Wed Jan 12, 2005 12:06
Contact:

Re: can't compile OGRE Renderer

Postby _mental_ » Fri Jan 21, 2005 21:43

Ok that will save me some time. Post them to the tracker and I'll review.

thanks.

User avatar
Spoke
Quite a regular
Quite a regular
Posts: 48
Joined: Wed Jan 12, 2005 12:06
Location: Spain
Contact:

Re: can't compile OGRE Renderer

Postby Spoke » Fri Jan 21, 2005 22:42

Done. ;)

The Patch!

Hope I did it right. :oops:
May the Force be with you!

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: can't compile OGRE Renderer

Postby spannerman » Mon Jan 24, 2005 18:40

Spoke, Ive applied your patch and CEGUI compile fine, plus everything seems to be ok with my app thats using latest CEGUI and OGRE HEAD.

Cheers

User avatar
Spoke
Quite a regular
Quite a regular
Posts: 48
Joined: Wed Jan 12, 2005 12:06
Location: Spain
Contact:

Re: can't compile OGRE Renderer

Postby Spoke » Mon Jan 24, 2005 22:32

Cool! 8)
May the Force be with you!

User avatar
_mental_
CEGUI Team (Retired)
Posts: 157
Joined: Wed Jan 12, 2005 12:06
Contact:

Re: can't compile OGRE Renderer

Postby _mental_ » Thu Jan 27, 2005 00:57

Ok this looks pretty good. I'll tag it and get it committed.

User avatar
_mental_
CEGUI Team (Retired)
Posts: 157
Joined: Wed Jan 12, 2005 12:06
Contact:

Re: can't compile OGRE Renderer

Postby _mental_ » Fri Jan 28, 2005 21:32

Source tagged as pre-OGRE-1_0 and committed. Thanks spoke!

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

Re: can't compile OGRE Renderer

Postby CrazyEddie » Sat Jan 29, 2005 08:38

Cheers _mental_ and Spoke :)

User avatar
Spoke
Quite a regular
Quite a regular
Posts: 48
Joined: Wed Jan 12, 2005 12:06
Location: Spain
Contact:

Re: can't compile OGRE Renderer

Postby Spoke » Sat Jan 29, 2005 10:39

Thanks to you, guys!
May the Force be with you!

User avatar
pjcast
Quite a regular
Quite a regular
Posts: 47
Joined: Wed Jan 12, 2005 12:06

Re: can't compile OGRE Renderer

Postby pjcast » Mon Jan 31, 2005 03:24

My question applies to the patch.. First off. good job :)

Though.. I think one more thing needs to be changed...
createTexture still takes Ogre:texture's.. should they not take TexturePtr's?

User avatar
_mental_
CEGUI Team (Retired)
Posts: 157
Joined: Wed Jan 12, 2005 12:06
Contact:

Re: can't compile OGRE Renderer

Postby _mental_ » Mon Jan 31, 2005 04:36

Yep you're right. I'll change that.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 11 guests