Skip to content

can't compile with cocos2dx 3-13 #1

@intmainreturn00

Description

@intmainreturn00

Hello, I'm currently doing something simillar

Interesting project, but I can't compile it with cocos2dx 3-13.

linedrawer.hpp(369): error C2668: 'cocos2d::TrianglesCommand::init': ambiguous call to overloaded function
2>  c:\work\awesomenode\cocos2d\cocos\renderer\cctrianglescommand.h(74): note: could be 'void cocos2d::TrianglesCommand::init(float,cocos2d::Texture2D *,cocos2d::GLProgramState *,cocos2d::BlendFunc,const cocos2d::TrianglesCommand::Triangles &,const cocos2d::Mat4 &,uint32_t)'
2>  c:\work\awesomenode\cocos2d\cocos\renderer\cctrianglescommand.h(71): note: or       'void cocos2d::TrianglesCommand::init(float,GLuint,cocos2d::GLProgramState *,cocos2d::BlendFunc,const cocos2d::TrianglesCommand::Triangles &,const cocos2d::Mat4 &,uint32_t)'
2>  c:\work\awesomenode\classes\linedrawer.hpp(369): note: while trying to match the argument list '(float, int, cocos2d::GLProgramState *, const cocos2d::BlendFunc, cocos2d::TrianglesCommand::Triangles, const cocos2d::Mat4, int)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions