Yake - Community Forum
September 10, 2010, 10:45:08 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the YAKE Project Forums, the place for getting help, providing help and enjoying friendly discussions related to YAKE products.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: a problem of sampleUi1  (Read 111 times)
yindf
Newbie
*
Posts: 1


View Profile
« 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
Logged
jan1213
Newbie
*
Posts: 5


View Profile
« Reply #1 on: July 24, 2010, 09:14:40 AM »

Yuan Shu sent 100 thousand troops, led by General Ji Ling, to attack Liu Bei. For fear of Lü Bu in Xuzhou who might lend Liu a hand, Yuan wrote Lü a letter, together with many food supplies as gifts, asking him not to help Liu. Liu, on the other hand, wrote lüa letter asking for assistance.
wow power leveling,
“If I remain an onlooker with folded arms,wow power leveling”thought Lü, “I will be in danger after Yuan defeats Liu. But if I help Liu, Yuan will be be resentful to me.” So Lü invited both Liu Bei and Ji Ling to a bqnqet.   Lü sat between Liu and Ji at the banquet. After a few rounds of toasts Lü began, “Please grant me a favor by stopping the fight.” When Ji Ling refused, Lu shouted for his long lance to be brought over.
aion kinah,
Both Liu and Ji got a fright.aion kinah “I'll stand my lance 150steps away outside the gate. If my arrow hits its edge you two will stop your fight. And if I miss the target you have your own way.” Ji secretly hoped that he would miss the target, while Liu crossed his fingers wished Lu succees. Lü and wine brought up to him. After each one had a cup Lu arched his bow, aimed and shot with a big shout. The arrow flew like lightening toward the target, and hit right on the edge of the lance. A big applause rose from everybody around.
Designer Glasses,
Lu dropped his bow and laughed,Designer Glasses saying, “You see, even the heavens wish that you stop fighting.” With his excellent archery, Lü averted a fight between the two sidesFollowing the interlocking stratagems they had laid, Wang Yun betrothed his step daughter Diao Chan to Lü Bu, then, to sow discord between the two, presented the girl to Dong Zhou as a concubine.
cheap aion kinah,
 Lü Bu was furious,cheap aion kinah and each time he met Diao Chan, the latter feigned a sad tearful look. One day, while Dong Chan was in court, Lü Bu rushed back to Dong Zhuo's residence to see the girl. In the Fengyi Pavilion the girl said to him with a desperate look, “I have prolonged my life in disgrace simply so I could have a final meeting with you and let you know my feelings.
maple story mesos,
Ishould have waited upon you but unfortunately Dong Zhuo took me by force.maple story mesos We can only meet in the next life…” So saying she meant to throw herself into the lotus pool. Lü Bu hurriedly held her back and swore, “How can I be a man if I fail to marry you?”Suddenly aware of Lü Bu's absence, Dong Zhuo, suspicious, rushed back to his residence to see Diao Chan was nowhere. the service maids told him the girl and Lü Bu were in the back garden. Dong Zhuo rushed there and at the sight of the two, roared with anger.
cabal alz,
Lü Bu fled.cabal alz When Dong Zhuo got back to his bedroom he saw Diao Chan's face was tearful. Being demanded for an answer, the girl said, “I was enjoying flowers in the back garden when Lü Bu stole in to take my liberty. I tried to escape but he drove me to the pavilion with his lance…” Before long the interlocking stratagems worked out-Dong Zhuo was killed by Lü Bu.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.078 seconds with 18 queries.