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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -