Projects > cpp > Issues > Bug #3807

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Xcode build error with CC_ENABLE_BOX2D_INTEGRATION macro enabled

Bug #3807 [Closed]
NathanDrake 2014-01-21 18:36 . Updated about 2 years ago

Dev env:
Xcode 5.0

In new project, after enabling macro CC_ENABLE_BOX2D_INTEGRATION=1 in build settings, compiler reports build error in:

file:
CCPhysicsSprite.cpp

method:
const kmMat4& PhysicsSprite::getNodeToParentTransform const

line:
401

message:
project/cocos2d/extensions/physics-nodes/CCPhysicsSprite.cpp:401:13: No viable overloaded ‘=’

/cocos2d/cocos/math/kazmath/include/kazmath/mat4.h:50:16: Candidate function (the implicit copy assignment operator) not viable: no known conversion from ‘cocos2d::AffineTransform’ to ‘const kmMat4’ for 1st argument

walzer@cocos2d-x.org 2014-10-08 02:47

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8323

Atom PDF

Status:Closed
Start date:2014-01-21
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:mac
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.