-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win32/openquick/cocos2d-2.0-x-2.0.4 backend not compiling #3
Comments
According to cocos release notes support for marmalade was added later, readme needs to be updated then. |
Thanks... we'll look into the version thing. QDraw.h and QDraw.cpp are not part of the project itself, they are part of the example code we created to show how to extend the Lua/C++ bindings, as detailed here: http://quick-docs.madewithmarmalade.com/AddingYourOwnC++Bindings.html You can safely remove these files from your project. |
1>d:\cocos2dx\openquick\source\qatlas.cpp(38): error C2248: 'cocos2d::CCSpriteFrameCache::CCSpriteFrameCache' : cannot access private member declared in class 'cocos2d::CCSpriteFrameCache'still remains... |
#EliLWANG, what version of Cocos2d-x are you trying? cocos2d-2.1beta3-x-2.1.0 ? #doturner, you should remove QDrawpp.cpp and QDraw.h from the project, these files are used only as part of the tutorial for adding your own C++ bindings, and needed updating. |
just got back ,and |
1> QDraw.cpp
1>d:\cocos2dx\openquick\include\qdraw.h(34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\cocos2dx\openquick\include\qdraw.h(34): warning C4183: 'Q_SCENE_GRAPH_NODE': missing return type; assumed to be a member function returning 'int'
1>d:\cocos2dx\openquick\source\qdraw.cpp(32): error C2061: syntax error : identifier 'CCDrawNode'
1>d:\cocos2dx\openquick\source\qdraw.cpp(33): error C2065: 'CCDrawNode' : undeclared identifier
1>d:\cocos2dx\openquick\source\qdraw.cpp(33): error C2059: syntax error : ')'
1>d:\cocos2dx\openquick\source\qdraw.cpp(45): error C2065: 'CCDrawNode' : undeclared identifier
1>d:\cocos2dx\openquick\source\qdraw.cpp(45): error C2059: syntax error : ')'
1>d:\cocos2dx\openquick\source\qdraw.cpp(51): error C2065: 'CCDrawNode' : undeclared identifier
1>d:\cocos2dx\openquick\source\qdraw.cpp(51): error C2059: syntax error : ')'
1> QAtlas.cpp
1>d:\cocos2dx\openquick\source\qatlas.cpp(38): error C2248: 'cocos2d::CCSpriteFrameCache::CCSpriteFrameCache' : cannot access private member declared in class 'cocos2d::CCSpriteFrameCache'
1> d:\cocos2dx\cocos2dx-2\cocos2dx\sprite_nodes\ccspriteframecache.h(138) : see declaration of 'cocos2d::CCSpriteFrameCache::CCSpriteFrameCache'
1> d:\cocos2dx\cocos2dx-2\cocos2dx\sprite_nodes\ccspriteframecache.h(58) : see declaration of 'cocos2d::CCSpriteFrameCache'
The text was updated successfully, but these errors were encountered: