启动后直接”cpp-test-empty已经停止工作“ 后面控制台窗口都是白的
这是HelloWorldLawyer.cpp #include"HelloWorldLawyer.h" HelloWorldLawyer * HelloWorldLawyer::create(){ HelloWorldLawyer * pRet = new HelloWorldLawyer(); if (pRet&&pRet->init()){ pRet->autorelease(); return pRet; } else{ CC_SAFE_DELETE(pRet); return NULL; } } bool HelloWorldLawyer::init(){ Size size = Director::getInstance()->getVisibleSize(); Label *label = Label::createWithTTF("Welcome To MyGame", "font/marks", 24); label->setPosition(Vec2(size.width / 2, size.height * 3 / 4)); return true; }