yindf
Newbie

Posts: 1
|
 |
« on: July 21, 2010, 05:38:05 PM » |
|
I have build sampleUi1 sucessfully, but I got some run time assertion failure. it seems that the problem is caused by .lua files under "../../../common/media/gui2/styles/lua1/".
all the .lua file has " this:property("xxx") " will got a assertion failure " crep & you are trying to use an unregistered type, file ......\luabind\detail\policy.hpp line 501".
if " this:property("xxx") " in .lua file is commented, it works, but the property in C++ can not be associated with lua. and I wondering why the yake::property::PropertyContainer<> is not used in widget.
what should i do to make sampleUi1 run? thx.
the stack of sampleUi1 looks like this:
yake_gui2_d.dll!luabind::adl::call_proxy<luabind::adl::object,boost::tuples::tuple<> >::call<luabind::detail::null_type>(luabind::detail::null_type * __formal=0x00000000) Line 1133 + 0x10 bytes C++ yake_gui2_d.dll!luabind::adl::call_proxy<luabind::adl::object,boost::tuples::tuple<> >::~call_proxy<luabind::adl::object,boost::tuples::tuple<> >() Line 1103 + 0x11 bytes C++ yake_gui2_d.dll!yake::ui::LuaStyle::renderSingleWidget(yake::ui::Widget & w={...}, const yake::ui::Rectangle & clipRect={...}, const int zLevel=0) Line 728 C++ > yake_gui2_d.dll!yake::ui::Widget::paint(const yake::ui::Rectangle & clipRect={...}, const int zLevel=0) Line 265 + 0x2f bytes C++ yake_gui2_d.dll!boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>::call<boost::shared_ptr<yake::ui::Widget>,yake::ui::Rectangle const ,int>(boost::shared_ptr<yake::ui::Widget> & u={...}, const void * __formal=0x06048950, const yake::ui::Rectangle & b1={...}, int & b2=0) Line 265 + 0x27 bytes C++ yake_gui2_d.dll!boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>::operator()<boost::shared_ptr<yake::ui::Widget> >(boost::shared_ptr<yake::ui::Widget> & u={...}, const yake::ui::Rectangle & a1={...}, int a2=0) Line 280 C++ yake_gui2_d.dll!boost::_bi::list3<boost::arg<1>,boost::_bi::value<yake::ui::Rectangle>,boost::_bi::value<int> >::operator()<boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>,boost::_bi::list1<boost::shared_ptr<yake::ui::Widget> &> >(boost::_bi::type<void> __formal={...}, boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int> & f={...}, boost::_bi::list1<boost::shared_ptr<yake::ui::Widget> &> & a={...}, boost::_bi::type<void> __formal={...}) Line 372 C++ yake_gui2_d.dll!boost::_bi::bind_t<void,boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>,boost::_bi::list3<boost::arg<1>,boost::_bi::value<yake::ui::Rectangle>,boost::_bi::value<int> > >::operator()<boost::shared_ptr<yake::ui::Widget> >(boost::shared_ptr<yake::ui::Widget> & a1={...}) Line 33 C++ yake_gui2_d.dll!std::for_each<std::_Deque_iterator<boost::shared_ptr<yake::ui::Widget>,std::allocator<boost::shared_ptr<yake::ui::Widget> >,1>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>,boost::_bi::list3<boost::arg<1>,boost::_bi::value<yake::ui::Rectangle>,boost::_bi::value<int> > > >(std::_Deque_iterator<boost::shared_ptr<yake::ui::Widget>,std::allocator<boost::shared_ptr<yake::ui::Widget> >,1> _First=deque[0] = {px=0x06053820 pn={...} }, std::_Deque_iterator<boost::shared_ptr<yake::ui::Widget>,std::allocator<boost::shared_ptr<yake::ui::Widget> >,1> _Last=<end>, boost::_bi::bind_t<void,boost::_mfi::mf2<void,yake::ui::Widget,yake::ui::Rectangle const &,int>,boost::_bi::list3<boost::arg<1>,boost::_bi::value<yake::ui::Rectangle>,boost::_bi::value<int> > > _Func={...}) Line 29 + 0x11 bytes C++ yake_gui2_d.dll!yake::ui::Widget::paint(const yake::ui::Rectangle & clipRect={...}, const int zLevel=0) Line 279 + 0xbe bytes C++ sampleUi1_d.exe!yake::ui::Application::step() Line 71 + 0x1a bytes C++ sampleUi1_d.exe!yake::demo::TheMainState::onFrame(const float timeElapsed=0.00000000) Line 300 C++ yake_raf_d.dll!yake::raf::RtMainState::onStep() Line 115 + 0x16 bytes C++ yake_raf_d.dll!yake::raf::AppMachine::step() Line 112 + 0x25 bytes C++ yake_raf_d.dll!yake::raf::Application::onRun() Line 528 C++ yake_raf_d.dll!yake::raf::Application::run() Line 518 + 0xf bytes C++ yake_raf_d.dll!yake::raf::runApplication(yake::raf::Application & theApp={...}) Line 125 C++ sampleUi1_d.exe!main(int argc=1, char * * argv=0x00690100) Line 361 + 0xf bytes C++ sampleUi1_d.exe!__tmainCRTStartup() Line 582 + 0x19 bytes C sampleUi1_d.exe!mainCRTStartup() Line 399 C
|