8000 错误 LNK2019 无法解析的外部符号 · Issue #190 · cocos2d/creator_to_cocos2dx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
错误 LNK2019 无法解析的外部符号 #190
Open
@SlientValley

Description

@SlientValley
creator::CreatorReader* reader = creator::CreatorReader::createWithFilename("creator/scenes/MainScene.ccreator");
reader->setup();
Scene* scene = reader->getSceneGraph();
Director::getInstance()->runWithScene(scene);

I try to add the codes above to a scene class, but it can't compile. This is the information of error below.

错误 LNK2019 无法解析的外部符号 "public: static class creator::CreatorReader * __cdecl creator::CreatorReader::createWithFilename(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?createWithFilename@CreatorReader@creator@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z),该符号在函数 "public: void __thiscall HelloWorld::menuCloseCallback(class cocos2d::Ref *)" (?menuCloseCallback@HelloWorld@@QAEXPAVRef@cocos2d@@@z) 中被引用 FireChess C:\Users\valleys\Desktop\Cocos\FireChess\win32-build\HelloWorldScene.obj

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

      0