Skip to content
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

Open
rusbogdanclaudiu opened this issue Feb 17, 2013 · 5 comments
Open

Comments

@rusbogdanclaudiu
Copy link

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'

@rusbogdanclaudiu
Copy link
Author

According to cocos release notes support for marmalade was added later, readme needs to be updated then.
cocos2d-2.1beta3-x-2.1.0 @ Dec 05 2012
update to cocos2d-iphone v2.1beta3, add marmalade support, add CocosDragon and WatermelonWithMe, accessing to files from APK is boosted

@timcloss
Copy link
Contributor

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.

@EliLWANG
Copy link

EliLWANG commented Mar 3, 2013

1>d:\cocos2dx\openquick\source\qatlas.cpp(38): error C2248: 'cocos2d::CCSpriteFrameCache::CCSpriteFrameCache' : cannot access private member declared in class 'cocos2d::CCSpriteFrameCache'

still remains...

@timcloss
Copy link
Contributor

timcloss commented Mar 6, 2013

#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.

@EliLWANG
Copy link

just got back ,and
#timcloss
using cocos2d-x 2.0-x-2.0.4 AND have tried cocos2d-current...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants