Skip to content

win32/openquick/cocos2d-2.0-x-2.0.4 backend not compiling #3

Open

Description

@rusbogdanclaudiu

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'

Activity

  1. rusbogdanclaudiu commented on Feb 17, 2013

    @rusbogdanclaudiu
    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

  2. timcloss commented on Feb 18, 2013

    @timcloss
    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.

  3. EliLWANG commented on Mar 3, 2013

    @EliLWANG

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

    still remains...

  4. timcloss commented on Mar 6, 2013

    @timcloss
    Contributor

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

  5. EliLWANG commented on Mar 25, 2013

    @EliLWANG

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions