cocos2d-x-2.1.5 cocos2d-win32.vc2010.sln 报错

cocos2d-x-2.1.5文件夹中点击cocos2d-win32.vc2010.sln导入到vistual studio 2010中,然后编译,会报错。


错误信息:

error MSB3073


原因:

Shared\games中没有WatermelonWithMe和CocosDragonJS两个目录


解决方法:

  • 把cocos2d-x-2.1.4\samples\Javascript\下的WatermelonWithMe和CocosDragonJS两个文件夹,拷贝到Shared\games\下

  • 在cocos2d-x-2.1.4\samples\Javascript\Shared\games\CocosDragonJS下新建文件夹Published files Android

  • 把cocos2d-x-2.1.4\samples\Javascript\Shared\games\CocosDragonJS下的文件夹Classes,proj.android,proj.ios,proj.win32复制到cocos2d-x-2.1.4\samples\Javascript\Shared\games\CocosDragonJS\Published files Android\中


你可能感兴趣的:(报错,编译,cocos2d-x,MSB3073)