update from 0.4 to 0.7.5 problem

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

kuafu
Just popping in
Just popping in
Posts: 1
Joined: Fri Dec 02, 2011 08:11

update from 0.4 to 0.7.5 problem

Postby kuafu » Fri Dec 02, 2011 08:29

When I update my project from 0.4 to 0.7.5,I got these error:

error 1:

Code: Select all

size_t size  = scheme->d_falagardMappings.size();

error C2248: 'CEGUI::Scheme::d_falagardMappings' : cannot access private member declared in class 'CEGUI::Scheme'

error 2:
error C2039: 'EventParentHidden' : is not a member of 'CEGUI::Window'
error C2039: 'EventMouseLClick' : is not a member of 'CEGUI::Window'
error C2039: 'EventMouseRClick' : is not a member of 'CEGUI::Window'
error C2039: 'EventMouseLButtonDown' : is not a member of 'CEGUI::Window'
error C2039: 'EventMouseRButtonDown' : is not a member of 'CEGUI::Window'


error 3:

Code: Select all

pWindow->setSize(CEGUI::Absolute, Size(100,100));

error C2039: 'Absolute'
I changed like this then:

Code: Select all

pWindow->setSize(CEGUI::UVector2(CEGUI::UDim(0.0f,100), CEGUI::UDim(0.0f,100)));

Is this all right?

How can I resolve these problems?Thank you all!



-----------------------------------------------------------------------------------------------------
Here are some useful links help to update your project:
CEGUI 0.7.4 is Released! (Updated from 0.7.3!)
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=6&t=5182

Porting from CEGUI 0.6.x to CEGUI 0.7.x
http://www.cegui.org.uk/docs/current/porting6to7.html

Changes and Porting Tips for 0.5.0
http://www.cegui.org.uk/wiki/index.php/%20...%20de_removed

CEGUI 0.4 -> 0.5 port issue
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=2545

All About RenderTargets
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=2&t=4976&start=0

getPixelRect is renamed to getOuterRectClipper and is intended only for the use of rendering calculations.
http://crayzedsgui.hg.sourceforge.net/hgweb/crayzedsgui/cegui_mk2/annotate/baa269638893/cegui/src/CEGUIWindowRenderer.cpp

Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests