c++ - iPhone-Cocos2d-Box2d game #include <list> problem -
i have cocos 2d game under development implements box 2d , integration required me change .m classes .mm
now trying use code draws fruit ninja style swiping effect using code @ https://github.com/hiepnd/ccblade
when compiling error @ line #include < list >
(ccblade.h:14:0 ccblade.h:14:15: error: list: no such file or directory)
it works fine when integrated .m file, error when trying use .mm
any solutions ?
(after reading description in comments)
the problem translation not c++ or objc++ including <list>
via inclusion of ccblade.h
check build transcript failed file: -x objective-c
here, flag -x
specifies language. if not c++ or objc++, you'll error presented.
Comments
Post a Comment