cannot convert from 'irr::core::dimension2d<irr::s32>' to 'irr::core::rect<irr::s32>'
----------------------------
Error 3 error C2440: '<function-style-cast>' : cannot convert from 'irr::core::dimension2d<irr::s32>' to 'irr::core::rect<irr::s32>' E:\ProjectCodes\Irrlicht\LatestIrrlicht\trunk\source\Irrlicht\CGUIEnvironment.cpp 60 1 Irrlicht
Error 5 error C2440: '<function-style-cast>' : cannot convert from 'irr::core::dimension2d<irr::s32>' to 'irr::core::rect<irr::s32>' E:\ProjectCodes\Irrlicht\LatestIrrlicht\trunk\source\Irrlicht\CGUIEnvironment.cpp 1019 1 Irrlicht
Error 6 error C2440: '<function-style-cast>' : cannot convert from 'irr::core::dimension2d<irr::s32>' to 'irr::core::rect<irr::s32>' E:\ProjectCodes\Irrlicht\LatestIrrlicht\trunk\source\Irrlicht\CGUIEnvironment.cpp 1401 1 Irrlicht
Error 7 error C2440: '<function-style-cast>' : cannot convert from 'irr::core::dimension2d<irr::s32>' to 'irr::core::rect<irr::s32>' E:\ProjectCodes\Irrlicht\LatestIrrlicht\trunk\source\Irrlicht\CGUIImage.cpp 84 1 Irrlicht
//Updated the whole trunk
My mistake need to update source as well as include folder.
[Fixed] Latest change in trunk break in vs 2013
[Fixed] Latest change in trunk break in vs 2013
Last edited by thanhle on Sun Mar 01, 2015 4:32 pm, edited 3 times in total.
Re: Latest change in trunk break in vs 2013
Could it be you have set your include path somehow to other headers? Because this looks like you update the source files, but are now using them with the old headers (core::rect got a new contructor which is needed for this changes to work).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Latest change in trunk break in vs 2013
Thanks mate I forgot to do a global update instead of the source only.
Regards
thanh
Regards
thanh