MyGUI ported to Ogre 2.1! =)

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil

MyGUI ported to Ogre 2.1! =)

Post by aymar » Fri Jun 12, 2015 9:06 pm

Hey guys,

We at 9heads Game Studios spent the last week porting MyGUI to Ogre 2.1, we implemented a new OgrePlatform (now called Ogre2Platform, and soon to be Ogre21Platform).

You just need to clone our fork, build it, link it to your project and instantiate the Ogre2Platform instead of the OgrePlatform, the rest of it remains the same :)

Advantages of our port:
- Uses new Hlms Unlit material (supports both OpenGL3+ and D3D11)
- Uses Ogre Renderable class and lets ogre queue, hash, sort and render the GUI using the new Ogre 2 render queue (similar to Ogre's Overlay).
- Very very very clean implementation of OgreRenderManager, delegates almost everything to Ogre.

PLEASE, give it a try and help review our pull request on MyGUI's official rep so scrawl can approve and merge our fork to the official MyGUI rep =]

Our fork: https://github.com/DotWolff/mygui/tree/ ... 0f0e0012fd
Our pull request: https://github.com/MyGUI/mygui/pull/76

Thanks!
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Sun Jun 14, 2015 12:06 am

Awesome work :)

I will take a look at this tomorrow and provide feedback in pull request.
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Sun Jun 14, 2015 11:31 pm

I have had a look, but the demos do not work out of the box, so I have created a fork of your fork and got the samples to compile and run. Most things seem fine.

I like your approach :) however.. you are using 'renderQueueStarted' to add objects to the render queue. The problem with this is that it is planned to be removed in the future, which gives 2 options;

1) - Create a custom pass like scrawl did
2) - Add a callback system like 'renderQueueStarted' into the Ogre core which allows 3rd part libs to add renderables to the queue. (@Dark_sylinc what are your view on this??)

Also the 'OverlaysEnabled' is only there so the overlays component still works, it is also planned for removal. As a result i would also suggest adding the ability to specify which render queue MyGUI adds renderables to.

Anyway I will finish fixing the samples tomorrow, create a pull request to your repo. Then I will provide feedback on your main pull request to the MyGUI origin repo.
0 x

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil

Re: MyGUI ported to Ogre 2.1! =)

Post by aymar » Mon Jun 15, 2015 2:16 pm

Hey al2950,

We also raised the possibility to add the renderables in a FrameListener, do you know if the FrameListener will be removed?

Good suggestion on specifying the render queue to add the renderables, we can expose this easily.

Thanks for the feedback.
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Mon Jun 15, 2015 3:38 pm

aymar wrote:Hey al2950,

We also raised the possibility to add the renderables in a FrameListener, do you know if the FrameListener will be removed?

Good suggestion on specifying the render queue to add the renderables, we can expose this easily.

Thanks for the feedback.
The frame listener will not be removed as far as I know, but I dont think you can use it to add renderables to the render queue, as the render queue is cleared every pass and the framelistener is only used at the beginning and end of each frame, so you would add your renderables but they would be removed before they were rendered.
0 x

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil

Re: MyGUI ported to Ogre 2.1! =)

Post by aymar » Mon Jun 15, 2015 8:17 pm

Hey al2950,

Our first tests were running from a FrameListener, if we add the renderables in the frameRenderingQueued method it seems to add them correctly, if I'm not mistaken the CEGUI uses FrameListener to queue its renderables too. If it actually works, it's a simpler alternative to setting up a custom pass (we tried that here and we ran into various issues :O)
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Mon Jun 15, 2015 10:33 pm

aymar wrote:Hey al2950,

Our first tests were running from a FrameListener, if we add the renderables in the frameRenderingQueued method it seems to add them correctly, if I'm not mistaken the CEGUI uses FrameListener to queue its renderables too. If it actually works, it's a simpler alternative to setting up a custom pass (we tried that here and we ran into various issues :O)
:shock: I am not sure how it was working with frameRenderingQueued! it is certainly not the best point to do it. What issues did you have with a custom pass? I would be happy if I set one up for you in my fork.

**EDIT** I have got all samples working, although render box is not currently showing anything, but I expected that, and also the editor is not quite right. I will look at those, and fix a few cmake bits as well before creating pull request
0 x

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil

Re: MyGUI ported to Ogre 2.1! =)

Post by aymar » Tue Jun 16, 2015 1:39 am

If I recall it correctly, when we tried using a custom pass, we didn't have the renderables set, we tried sending a RenderOperation directly to the render system instead, and for some reason the render system silently ignored the RenderOperation sent :/

But now that I think about it, we never did try to add renderables to the render queue via custom pass... may be worth trying :)

Thanks for all the help and interest!
0 x

aymar
Greenskin
Posts: 145
Joined: Fri Jun 12, 2015 6:53 pm
Location: Florianopolis, Brazil

Re: MyGUI ported to Ogre 2.1! =)

Post by aymar » Thu Jun 18, 2015 11:29 pm

One important step to remember when porting the demos is that now you'll have to register the HlmsUnlit in the HlmsManager for MyGUI to work (maybe you did this already, but in any case)...
0 x

User avatar
Daixiwen
Greenskin
Posts: 104
Joined: Fri Feb 08, 2013 11:30 am
Location: Oslo
x 1

Re: MyGUI ported to Ogre 2.1! =)

Post by Daixiwen » Mon Jul 20, 2015 9:51 pm

Do you know if your pull requests made it to the main repository yet?
I pulled today the latest Ogre 2.1 and the ogre2.1 branch from the main mygui repository on Github but it doesn't compile. Most of the errors come from members that disappeared from Ogre::Rendersystem or Ogre::Viewport. So I'm either trying to use a too recent snapshot of Ogre, or not compiling the right Mygui source.
Thanks!

Code: Select all

Error	1	error C2039: 'UVWAddressingMode' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	2	error C2146: syntax error : missing ';' before identifier 'mTextureAddressMode'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	3	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	4	error C2664: 'Ogre::Viewport *Ogre::RenderTarget::addViewport(float,float,float,float)' : cannot convert argument 1 from 'nullptr' to 'float'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRTTexture.cpp	57	1	MyGUI.OgrePlatform
Error	5	error C2039: 'setClearEveryFrame' : is not a member of 'Ogre::Viewport'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRTTexture.cpp	58	1	MyGUI.OgrePlatform
Error	6	error C2039: 'UVWAddressingMode' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	7	error C2146: syntax error : missing ';' before identifier 'mTextureAddressMode'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	8	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	9	error C2039: 'RenderOperation' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	10	error C2143: syntax error : missing ';' before '*'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	11	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	12	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	40	1	MyGUI.OgrePlatform
Error	14	error C2039: 'RenderOperation' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	15	error C2146: syntax error : missing ';' before identifier 'mRenderOperation'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	16	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	17	error C2039: 'HardwareVertexBufferSharedPtr' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	18	error C2146: syntax error : missing ';' before identifier 'mVertexBuffer'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	19	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	20	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	41	1	MyGUI.OgrePlatform
Error	21	error C2065: 'mTextureAddressMode' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	55	1	MyGUI.OgrePlatform
Error	22	error C2228: left of '.u' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	55	1	MyGUI.OgrePlatform
Error	23	error C2039: 'TAM_CLAMP' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	55	1	MyGUI.OgrePlatform
Error	24	error C2065: 'TAM_CLAMP' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	55	1	MyGUI.OgrePlatform
Error	25	error C2065: 'mTextureAddressMode' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	56	1	MyGUI.OgrePlatform
Error	26	error C2228: left of '.v' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	56	1	MyGUI.OgrePlatform
Error	27	error C2039: 'TAM_CLAMP' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	56	1	MyGUI.OgrePlatform
Error	28	error C2065: 'TAM_CLAMP' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	56	1	MyGUI.OgrePlatform
Error	29	error C2065: 'mTextureAddressMode' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	57	1	MyGUI.OgrePlatform
Error	30	error C2228: left of '.w' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	57	1	MyGUI.OgrePlatform
Error	31	error C2039: 'TAM_CLAMP' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	57	1	MyGUI.OgrePlatform
Error	32	error C2065: 'TAM_CLAMP' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	57	1	MyGUI.OgrePlatform
Error	33	error C2039: 'RENDER_QUEUE_OVERLAY' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	188	1	MyGUI.OgrePlatform
Error	34	error C2065: 'RENDER_QUEUE_OVERLAY' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	188	1	MyGUI.OgrePlatform
Error	35	error C2664: 'void Ogre::RenderSystem::_setTexture(size_t,bool,const Ogre::String &)' : cannot convert argument 3 from 'Ogre::TexturePtr' to 'Ogre::Texture *'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	291	1	MyGUI.OgrePlatform
Error	36	error C2039: '_setTextureUnitFiltering' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	292	1	MyGUI.OgrePlatform
Error	37	error C2039: 'RenderOperation' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	297	1	MyGUI.OgrePlatform
Error	38	error C2065: 'RenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	297	1	MyGUI.OgrePlatform
Error	39	error C2065: 'operation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	297	1	MyGUI.OgrePlatform
Error	40	error C2065: 'operation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	298	1	MyGUI.OgrePlatform
Error	41	error C2227: left of '->vertexData' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	298	1	MyGUI.OgrePlatform
Error	42	error C2227: left of '->vertexCount' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	298	1	MyGUI.OgrePlatform
Error	43	error C2065: 'operation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	300	1	MyGUI.OgrePlatform
Error	44	error C2039: 'setLightingEnabled' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	319	1	MyGUI.OgrePlatform
Error	45	error C2039: '_setDepthBufferParams' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	320	1	MyGUI.OgrePlatform
Error	46	error C2039: '_setDepthBias' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	321	1	MyGUI.OgrePlatform
Error	47	error C2039: '_setCullingMode' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	322	1	MyGUI.OgrePlatform
Error	48	error C2039: '_setFog' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	323	1	MyGUI.OgrePlatform
Error	49	error C2039: '_setColourBufferWriteEnabled' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	324	1	MyGUI.OgrePlatform
Error	50	error C2039: 'setShadingType' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	327	1	MyGUI.OgrePlatform
Error	51	error C2039: '_setTextureUnitFiltering' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	332	1	MyGUI.OgrePlatform
Error	52	error C2039: '_setTextureAddressingMode' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	333	1	MyGUI.OgrePlatform
Error	53	error C2065: 'mTextureAddressMode' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	333	1	MyGUI.OgrePlatform
Error	54	error C2039: '_setAlphaRejectSettings' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	338	1	MyGUI.OgrePlatform
Error	55	error C2039: '_setSceneBlending' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	345	1	MyGUI.OgrePlatform
Error	56	error C2039: '_setPolygonMode' : is not a member of 'Ogre::RenderSystem'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp	349	1	MyGUI.OgrePlatform
Error	57	error C2079: 'MyGUI::OgreTexture::mTmpData' uses undefined class 'Ogre::PixelBox'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreTexture.h	95	1	MyGUI.OgrePlatform
Error	58	error C2039: 'UVWAddressingMode' : is not a member of 'Ogre::TextureUnitState'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	59	error C2146: syntax error : missing ';' before identifier 'mTextureAddressMode'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	60	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h	123	1	MyGUI.OgrePlatform
Error	61	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	29	1	MyGUI.OgrePlatform
Error	62	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	60	1	MyGUI.OgrePlatform
Error	63	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	62	1	MyGUI.OgrePlatform
Error	64	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	63	1	MyGUI.OgrePlatform
Error	65	error C3083: 'HardwareBuffer': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	93	1	MyGUI.OgrePlatform
Error	66	error C2039: 'HBL_DISCARD' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	93	1	MyGUI.OgrePlatform
Error	67	error C2065: 'HBL_DISCARD' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	93	1	MyGUI.OgrePlatform
Error	68	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	99	1	MyGUI.OgrePlatform
Error	69	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	101	1	MyGUI.OgrePlatform
Error	70	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	102	1	MyGUI.OgrePlatform
Error	71	error C2440: '=' : cannot convert from 'Ogre::PixelBox' to 'int'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	105	1	MyGUI.OgrePlatform
Error	72	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	106	1	MyGUI.OgrePlatform
Error	73	error C2664: 'void Ogre::v1::HardwarePixelBuffer::blitToMemory(const Ogre::PixelBox &)' : cannot convert argument 1 from 'int' to 'const Ogre::PixelBox &'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	108	1	MyGUI.OgrePlatform
Error	74	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	110	1	MyGUI.OgrePlatform
Error	75	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	119	1	MyGUI.OgrePlatform
Error	76	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	121	1	MyGUI.OgrePlatform
Error	77	error C2228: left of '.data' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreTexture.cpp	122	1	MyGUI.OgrePlatform
Error	78	error C2039: 'RenderOperation' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	79	error C2143: syntax error : missing ';' before '*'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	80	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	39	1	MyGUI.OgrePlatform
Error	81	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	40	1	MyGUI.OgrePlatform
Error	83	error C2039: 'RenderOperation' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	84	error C2146: syntax error : missing ';' before identifier 'mRenderOperation'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	85	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	53	1	MyGUI.OgrePlatform
Error	86	error C2039: 'HardwareVertexBufferSharedPtr' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	87	error C2146: syntax error : missing ';' before identifier 'mVertexBuffer'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	88	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	54	1	MyGUI.OgrePlatform
Error	89	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreVertexBuffer.h	41	1	MyGUI.OgrePlatform
Error	90	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	33	1	MyGUI.OgrePlatform
Error	91	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	33	1	MyGUI.OgrePlatform
Error	92	error C2039: 'VertexData' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	33	1	MyGUI.OgrePlatform
Error	93	error C2061: syntax error : identifier 'VertexData'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	33	1	MyGUI.OgrePlatform
Error	94	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	34	1	MyGUI.OgrePlatform
Error	95	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	34	1	MyGUI.OgrePlatform
Error	96	error C2227: left of '->vertexStart' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	34	1	MyGUI.OgrePlatform
Error	97	error C2039: 'VertexDeclaration' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	98	error C2065: 'VertexDeclaration' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	99	error C2065: 'vd' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	100	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	101	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	102	error C2227: left of '->vertexDeclaration' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	36	1	MyGUI.OgrePlatform
Error	103	error C2065: 'vd' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	37	1	MyGUI.OgrePlatform
Error	104	error C2227: left of '->addElement' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	37	1	MyGUI.OgrePlatform
Error	105	error C2065: 'vd' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	38	1	MyGUI.OgrePlatform
Error	106	error C2227: left of '->addElement' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	38	1	MyGUI.OgrePlatform
Error	107	error C3083: 'VertexElement': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	38	1	MyGUI.OgrePlatform
Error	108	error C2039: 'getTypeSize' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	38	1	MyGUI.OgrePlatform
Error	109	error C3861: 'getTypeSize': identifier not found	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	38	1	MyGUI.OgrePlatform
Error	110	error C2065: 'vd' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	39	1	MyGUI.OgrePlatform
Error	111	error C2227: left of '->addElement' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	39	1	MyGUI.OgrePlatform
Error	112	error C3083: 'VertexElement': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	39	1	MyGUI.OgrePlatform
Error	113	error C2039: 'getTypeSize' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	39	1	MyGUI.OgrePlatform
Error	114	error C3083: 'VertexElement': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	40	1	MyGUI.OgrePlatform
Error	115	error C2039: 'getTypeSize' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	40	1	MyGUI.OgrePlatform
Error	116	error C3861: 'getTypeSize': identifier not found	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	39	1	MyGUI.OgrePlatform
Error	117	error C3861: 'getTypeSize': identifier not found	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	40	1	MyGUI.OgrePlatform
Error	118	error C2065: 'mVertexBuffer' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	44	1	MyGUI.OgrePlatform
Error	119	error C3083: 'HardwareBufferManager': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	44	1	MyGUI.OgrePlatform
Error	120	error C2039: 'getSingleton' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	44	1	MyGUI.OgrePlatform
Error	121	error C2228: left of '.createVertexBuffer' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	44	1	MyGUI.OgrePlatform
Error	122	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	45	1	MyGUI.OgrePlatform
Error	123	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	45	1	MyGUI.OgrePlatform
Error	124	error C2227: left of '->vertexDeclaration' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	45	1	MyGUI.OgrePlatform
Error	125	error C2227: left of '->getVertexSize' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	45	1	MyGUI.OgrePlatform
Error	126	error C3083: 'HardwareBuffer': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	47	1	MyGUI.OgrePlatform
Error	127	error C2039: 'HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	47	1	MyGUI.OgrePlatform
Error	128	error C2065: 'HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	47	1	MyGUI.OgrePlatform
Error	129	error C3861: 'getSingleton': identifier not found	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	44	1	MyGUI.OgrePlatform
Error	130	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	51	1	MyGUI.OgrePlatform
Error	131	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	51	1	MyGUI.OgrePlatform
Error	132	error C2227: left of '->vertexBufferBinding' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	51	1	MyGUI.OgrePlatform
Error	133	error C2227: left of '->setBinding' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	51	1	MyGUI.OgrePlatform
Error	134	error C2065: 'mVertexBuffer' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	51	1	MyGUI.OgrePlatform
Error	135	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	52	1	MyGUI.OgrePlatform
Error	136	error C2228: left of '.operationType' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	52	1	MyGUI.OgrePlatform
Error	137	error C3083: 'RenderOperation': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	52	1	MyGUI.OgrePlatform
Error	138	error C2039: 'OT_TRIANGLE_LIST' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	52	1	MyGUI.OgrePlatform
Error	139	error C2065: 'OT_TRIANGLE_LIST' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	52	1	MyGUI.OgrePlatform
Error	140	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	53	1	MyGUI.OgrePlatform
Error	141	error C2228: left of '.useIndexes' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	53	1	MyGUI.OgrePlatform
Error	142	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	58	1	MyGUI.OgrePlatform
Error	143	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	58	1	MyGUI.OgrePlatform
Error	144	error C2065: 'mRenderOperation' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	59	1	MyGUI.OgrePlatform
Error	145	error C2228: left of '.vertexData' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	59	1	MyGUI.OgrePlatform
Error	146	error C2065: 'mVertexBuffer' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	60	1	MyGUI.OgrePlatform
Error	147	error C2228: left of '.setNull' must have class/struct/union	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	60	1	MyGUI.OgrePlatform
Error	148	error C2065: 'mVertexBuffer' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	84	1	MyGUI.OgrePlatform
Error	149	error C2227: left of '->lock' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	84	1	MyGUI.OgrePlatform
Error	150	error C3083: 'HardwareVertexBuffer': the symbol to the left of a '::' must be a type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	84	1	MyGUI.OgrePlatform
Error	151	error C2039: 'HBL_DISCARD' : is not a member of 'Ogre'	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	84	1	MyGUI.OgrePlatform
Error	152	error C2065: 'HBL_DISCARD' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	84	1	MyGUI.OgrePlatform
Error	153	error C2065: 'mVertexBuffer' : undeclared identifier	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	89	1	MyGUI.OgrePlatform
Error	154	error C2227: left of '->unlock' must point to class/struct/union/generic type	E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreVertexBuffer.cpp	89	1	MyGUI.OgrePlatform
Error	155	error C2039: 'RenderOperation' : is not a member of 'Ogre'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	39	1	Common
Error	156	error C2143: syntax error : missing ';' before '*'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	39	1	Common
Error	157	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	39	1	Common
Error	158	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	40	1	Common
Error	160	error C2039: 'RenderOperation' : is not a member of 'Ogre'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	53	1	Common
Error	161	error C2146: syntax error : missing ';' before identifier 'mRenderOperation'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	53	1	Common
Error	162	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	53	1	Common
Error	163	error C2039: 'HardwareVertexBufferSharedPtr' : is not a member of 'Ogre'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	54	1	Common
Error	164	error C2146: syntax error : missing ';' before identifier 'mVertexBuffer'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	54	1	Common
Error	165	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	54	1	Common
Error	166	error C2065: 'mRenderOperation' : undeclared identifier	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreVertexBuffer.h	41	1	Common
Error	167	error C2039: 'UVWAddressingMode' : is not a member of 'Ogre::TextureUnitState'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreRenderManager.h	123	1	Common
Error	168	error C2146: syntax error : missing ';' before identifier 'mTextureAddressMode'	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreRenderManager.h	123	1	Common
Error	169	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	e:\devel\mygui-git\platforms\ogre\ogreplatform\include\MyGUI_OgreRenderManager.h	123	1	Common
Error	170	error C2661: 'Ogre::Root::createSceneManager' : no overloaded function takes 2 arguments	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	103	1	Common
Error	171	error C2664: 'Ogre::Viewport *Ogre::RenderTarget::addViewport(float,float,float,float)' : cannot convert argument 1 from 'Ogre::Camera *' to 'float'	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	111	1	Common
Error	172	error C2660: 'Ogre::SceneManager::setAmbientLight' : function does not take 1 arguments	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	118	1	Common
Error	173	error C2660: 'Ogre::SceneManager::createLight' : function does not take 1 arguments	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	119	1	Common
Error	174	error C2039: 'setPolygonMode' : is not a member of 'Ogre::Camera'	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	454	1	Common
Error	175	error C2039: 'setPolygonMode' : is not a member of 'Ogre::Camera'	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	458	1	Common
Error	176	error C2039: 'setPolygonMode' : is not a member of 'Ogre::Camera'	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	462	1	Common
Error	177	error C2039: 'lastFPS' : is not a member of 'Ogre::RenderTarget::FrameStats'	E:\Devel\mygui-git\Common\Base\Ogre\BaseManager.cpp	551	1	Common
0 x
Hardware, n.: part of the computer you can kick

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Mon Jul 20, 2015 9:54 pm

It would appear not, the pull request is still hanging. I will try and get someone to give it some attention

The PR which we are waiting on is here;
https://github.com/MyGUI/mygui/pull/86
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Mon Jul 20, 2015 9:55 pm

If you are impatient you could get it directly from my fork;
https://github.com/al2950/mygui/tree/master

I will mostly likely update it when needed, but its currently all in the master branch.
0 x

User avatar
Daixiwen
Greenskin
Posts: 104
Joined: Fri Feb 08, 2013 11:30 am
Location: Oslo
x 1

Re: MyGUI ported to Ogre 2.1! =)

Post by Daixiwen » Wed Jul 22, 2015 7:08 pm

I tried to compile your fork but I got the same kind of error messages. How recent is your Ogre 2.1 pull?
It looks like there has been some API changes that don't work any more with MyGui. If for example we take the first error message:

Code: Select all

error C2039: 'UVWAddressingMode' : is not a member of 'Ogre::TextureUnitState'   E:\Devel\mygui-git\Platforms\Ogre\OgrePlatform\include\MyGUI_OgreRenderManager.h   123   1   MyGUI.OgrePlatform
UVWAddressingMode has been removed from Ogre::TextureUnitState in this commit: https://bitbucket.org/sinbad/ogre/commi ... 397dd10bd6. The required change in MyGUI seems trivial. I didn't have a look at all the member functions now missing from Ogre::RenderSystem but I hope it will be about the same.
I think it's better for me to change the MyGui code to compile with the most recent Ogre 2.1 than to try and pull an old version of Ogre that works with MyGui...
0 x
Hardware, n.: part of the computer you can kick

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Wed Jul 22, 2015 7:13 pm

The MyGUi 2.1 changes have been merged into the main Mygui branch, however there seem to be a couple of compile issues with it which I am fixing at the moment. Not sure how I did not catch them before the merge.... Good old cmake cache!!

Anyway I have started from a fresh pull and build dir, so hopefully all will be working in a few hours. Please keep in mind that I have not and will not check it compiles with the new 2.1 shadow optimisation branch
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Wed Jul 22, 2015 7:17 pm

Ah, I have just re-read your post and you are not using the Ogre 2 render system. That branch supports both 1.x and 2 but you have to choose a different render system. Ogre2 is render system 8

Code: Select all

MYGUI_RENDERSYSTEM = 8
0 x

User avatar
Daixiwen
Greenskin
Posts: 104
Joined: Fri Feb 08, 2013 11:30 am
Location: Oslo
x 1

Re: MyGUI ported to Ogre 2.1! =)

Post by Daixiwen » Wed Jul 22, 2015 9:16 pm

Yes thanks that was it! I saw that you talked about a different platform in the pull request but I couldn't find it. For my defence it seems that the documentation for that cmake parameter is only documented up to 7 ;)
It works better now, just need to get the samples to compile. Thanks again!
0 x
Hardware, n.: part of the computer you can kick

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Wed Jul 22, 2015 9:28 pm

Fixes done and pull request has been accepted. I would recommend getting the source from the main MyGUI Repo

NB to use the Ogre 2 render system you MUST set the MYGUI_RENDERSYSTEM to 8

THINGS THAT DONT WORK
1) RTTs dont currently function properly
2) Due to 1, the layout editor does not work as expected
0 x

Brentor
Gnoblar
Posts: 4
Joined: Tue Aug 11, 2015 5:07 am

Re: MyGUI ported to Ogre 2.1! =)

Post by Brentor » Tue Aug 11, 2015 6:05 am

Hi, I'm excited to try this, but I'm having trouble building MyGUI.Ogre2Platform against Ogre 2.1 rev 8082. Maybe newer revisions of Ogre have broken MyGUI support for Ogre 2.1 since this port was completed?

I'm getting the following build errors for the MyGUI.Ogre2Platform project (in VS 2013 x64):

Code: Select all

Error	14	error C2665: 'Ogre::AllocatedObject<Ogre::ResourceAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types	D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	59	1	MyGUI.Ogre2Platform
Error	15	error C2665: 'Ogre::AllocatedObject<Ogre::SceneObjAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types	D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	79	1	MyGUI.Ogre2Platform
Error	16	error C2665: 'Ogre::AllocatedObject<Ogre::SceneCtlAllocPolicy>::operator new' : none of the 3 overloads could convert all the argument types	D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	80	1	MyGUI.Ogre2Platform
Error	17	error C2259: 'MyGUI::Ogre2GuiRenderable' : cannot instantiate abstract class	D:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	405	1	MyGUI.Ogre2Platform
The first error occurs during these calls on line 59 of MyGUI_Ogre2RenderManager.cpp:

Code: Select all

mPassProvider.reset(new OgreCompositorPassProvider());
The 2nd and 3rd errors are on lines 79-80:

Code: Select all

mQueueMoveable = new Ogre2GuiMoveable(Ogre::Id::generateNewId<Ogre2GuiRenderable>(), &mDummyObjMemMgr, mSceneManager, RENDER_QUEUE_OVERLAY);
mQueueSceneNode = new Ogre::SceneNode(0, 0, &mDummyNodeMemMgr, 0);
And the 4th error is on line 405:

Code: Select all

mRenderables[ID] = new Ogre2GuiRenderable();
I'd be grateful for any help... I'm a beginner with Ogre (my experience is mainly tinkering with the .Net port of Ogre - "Axiom"). Thanks!
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Tue Aug 11, 2015 7:41 am

Hi

Thank you for pointing this out. I had actually already fixed it, but forgot to do a pull request to the main MyGui repo. I have now issued one so hopefully it will be merged in soon, but if you cant wait the fix is very simple, just have a look at the commit;
https://github.com/al2950/mygui/commit/ ... 13fa29b609
0 x

Brentor
Gnoblar
Posts: 4
Joined: Tue Aug 11, 2015 5:07 am

Re: MyGUI ported to Ogre 2.1! =)

Post by Brentor » Tue Aug 11, 2015 10:13 am

No problem and thanks for your work!

Your change fixes the 4th error I'm getting, but the first three errors regarding initialization of OgreCompositorPassProvider, Ogre2GuiMoveable, and SceneNode are are still happening for me.

Intellisense also gives me this:

Code: Select all

1	IntelliSense: no instance of overloaded "MyGUI::OgreCompositorPassProvider::operator new" matches the argument list
            argument types are: (unsigned long long, int, const char [125], int)	d:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	60	23	MyGUI.Ogre2Platform
2	IntelliSense: no instance of overloaded "MyGUI::Ogre2GuiMoveable::operator new" matches the argument list
            argument types are: (unsigned long long, int, const char [125], int)	d:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	80	20	MyGUI.Ogre2Platform
3	IntelliSense: no instance of overloaded "Ogre::SceneNode::operator new" matches the argument list
            argument types are: (unsigned long long, int, const char [125], int)	d:\Programming\CPlusplus\Addon Packages\mygui_ogre2.1_7178dd6\Platforms\Ogre2\Ogre2Platform\src\MyGUI_Ogre2RenderManager.cpp	81	21	MyGUI.Ogre2Platform
I tried replacing the new operator with OGRE_NEW to comply with Ogre's ResourceAllocatedObject, but I couldn't figure out how to do that properly.
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Tue Aug 11, 2015 10:29 am

Ah ok, I am currently testing with 2010 x86. I will rebuild and have a look at errors. However please note that its very unlikely I will be able to look at this before tomorrow evening (BST)
0 x

Brentor
Gnoblar
Posts: 4
Joined: Tue Aug 11, 2015 5:07 am

Re: MyGUI ported to Ogre 2.1! =)

Post by Brentor » Wed Aug 12, 2015 7:44 pm

I totally understand if things are changing too fast with Ogre 2.1 to maintain this right now... Basically I'm trying to find a way to get started with creating my own game framework for 2.1, since the current samples & tutorials depend on the Overlay component which isn't working. I was hoping I could base off the samples for MyGUI when I saw this announcement.

If anyone knows another way to make a GUI for current revisions of Ogre 2.1, I'd love to know!
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Wed Aug 12, 2015 8:14 pm

Hi

I just got home and did a quick cmake clean and rebuild with 2013 x64 and I had no compile issues for the MyGUI.Ogre2Platform project. The repo versions I am using are;
MyGui: 0e5e3b4d01ecd1faffe0f7265d322413fa29b609
Ogre: dd713b5aa6125128bc13239f26c02463a8617e15

So I am not sure exactly why you are getting those errors. Also I was unaware overlays were broken in Ogre 2.1.

Is there anything unusual about your build, any changes you have made or non defaults values of cmake?
0 x

Brentor
Gnoblar
Posts: 4
Joined: Tue Aug 11, 2015 5:07 am

Re: MyGUI ported to Ogre 2.1! =)

Post by Brentor » Wed Aug 12, 2015 9:01 pm

Hmm I'm using Ogre revision 8082 (dadcdd9b249f) which is 3 days old (2 revisions behind the very latest revision that you're using), and the only change I see mentioned since then is "Fixed the FindDirectX11 script for VS2015". I'm not building Ogre or any dependencies with DirectX support though.

Maybe I changed too many things in CMake... This is what I've done:

Code: Select all

Disabled settings:
OGRE_BUILD_COMPONENT_HLMS_PBS_MOBILE
OGRE_BUILD_COMPONENT_HLMS_UNLIT_MOBILE
OGRE_BUILD_COMPONENT_OVERLAY
OGRE_BUILD_RENDERSYSTEM_D3D11
OGRE_BUILD_TOOLS
OGRE_INSTALL_SAMPLES
OGRE_INSTALL_TOOLS

Enabled settings:
OGRE_BUILD_COMPONENT_PROPERTY
OGRE_CONFIG_ENABLE_GL_STATE_CACHE_SUPPORT
OGRE_CONFIG_ENABLE_PVRTC
OGRE_CONFIG_ENABLE_STBI
OGRE_CONFIG_ENABLE_VIEWPOERT_ORIENTATIONMODE
OGRE_CONFIG_MEMTRACK_DEBUG
OGRE_CONFIG_MEMTRACK_RELEASE
OGRE_INSTALL_VSPROPS
OGRE_PROFILING

Auto-set because of Boost:
OGRE_CONFIG_THREADS 2
OGRE_CONFIG_THREAD_PROVIDER boost
OGRE_USE_BOOST
The Overlay component hasn't been building for me, and when I googled the VS build errors I found a recent Ogre forum thread where a couple people realized several components weren't working, including Overlay... I can't seem to find the post now but I'll keep looking. I guess I'll try re-building with the latest Ogre and simplifying my CMake changes unless anything in particular jumps out at you.

Thanks a lot for your time!
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1193
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 74

Re: MyGUI ported to Ogre 2.1! =)

Post by al2950 » Wed Aug 12, 2015 11:32 pm

Well the overlay component compiles for me and more to the point is used by the new Ogre samples (Cmake option 'OGRE_BUILD_SAMPLES2')

I tried building with your cmake options and I still had no issue. However I did notice that you had some of your cmake options were not available in my build ie
OGRE_BUILD_COMPONENT_PROPERTY
OGRE_CONFIG_THREADS 2
OGRE_CONFIG_THREAD_PROVIDER boost
OGRE_USE_BOOST

I dont think that in its self would cause an issue, but it is a sign you may be using a dirt build folder. To be sure delete the build folder and start again with CMAKE
0 x

Post Reply