We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Xcode build error with CC_ENABLE_BOX2D_INTEGRATION macro enabled
Xcode build error with CC_ENABLE_BOX2D_INTEGRATION macro enabled
Bug #3807 [Closed]
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
Status: | Closed | |
---|---|---|
Start date: | 2014-01-21 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | mac | |
Target version: | - |
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