update from 0.4 to 0.7.5 problem
Posted: Fri Dec 02, 2011 08:29
When I update my project from 0.4 to 0.7.5,I got these error:
error 1:
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:
error C2039: 'Absolute'
I changed like this then:
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
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