Page 1 of 3

can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 13:43
by Alyph
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:

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 14:14
by CrazyEddie
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.

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 15:47
by _mental_
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?

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 19:05
by CrazyEddie
_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.

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 20:19
by Spoke
Hi guys!

I just finish doing this, and if you want I can provide a patch for you to review. ;)

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 21:43
by _mental_
Ok that will save me some time. Post them to the tracker and I'll review.

thanks.

Re: can't compile OGRE Renderer

Posted: Fri Jan 21, 2005 22:42
by Spoke
Done. ;)

The Patch!

Hope I did it right. :oops:

Re: can't compile OGRE Renderer

Posted: Mon Jan 24, 2005 18:40
by spannerman
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

Re: can't compile OGRE Renderer

Posted: Mon Jan 24, 2005 22:32
by Spoke
Cool! 8)

Re: can't compile OGRE Renderer

Posted: Thu Jan 27, 2005 00:57
by _mental_
Ok this looks pretty good. I'll tag it and get it committed.

Re: can't compile OGRE Renderer

Posted: Fri Jan 28, 2005 21:32
by _mental_
Source tagged as pre-OGRE-1_0 and committed. Thanks spoke!

Re: can't compile OGRE Renderer

Posted: Sat Jan 29, 2005 08:38
by CrazyEddie
Cheers _mental_ and Spoke :)

Re: can't compile OGRE Renderer

Posted: Sat Jan 29, 2005 10:39
by Spoke
Thanks to you, guys!

Re: can't compile OGRE Renderer

Posted: Mon Jan 31, 2005 03:24
by pjcast
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?

Re: can't compile OGRE Renderer

Posted: Mon Jan 31, 2005 04:36
by _mental_
Yep you're right. I'll change that.