• [COCOS2DX]官网helloworld在VS2012中的部署


    VS2012、JDK、Eclipse(和adt插件)之类的基本安装这里直接略过。

    以下为对cocos2dx 3.5版本在VS2012中部署的摸索:

    [1]_thumb[1][4]

    开源项目“愤怒的小鸟”原来设置:

    [2]_thumb[4][4]

    .;..Classes;E:cocos2d-2.0-x-2.0.4cocos2dx;E:cocos2d-2.0-x-2.0.4cocos2dxinclude;E:cocos2d-2.0-x-2.0.4cocos2dxkazmathinclude;E:cocos2d-2.0-x-2.0.4cocos2dxplatformwin32;E:cocos2d-2.0-x-2.0.4cocos2dxplatform hird_partywin32;E:cocos2d-2.0-x-2.0.4cocos2dxplatform hird_partywin32OGLES;E:cocos2d-2.0-x-2.0.4external;E:cocos2d-2.0-x-2.0.4CocosDenshioninclude;%(AdditionalIncludeDirectories)

    http://www.xuebuyuan.com/1968031.html里面用到的配置:

    C:ComputerSciencecocos2d-x-3.5extensions;

    C:ComputerSciencecocos2d-x-3.5cocos;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2cocos2dxinclude;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2cocos2dxkazmathinclude;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2cocos2dxplatformwin32;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2cocos2dxplatform hird_partywin32;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2cocos2dxplatform hird_partywin32OGLES;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2external;

    D:softasp.netToolscocos2d-2.1rc0-x-2.1.2CocosDenshioninclude;

    官网下载的COCOS2dX-3.5工具包中cpp-tests项目里面的配置:

    【C/C++】

    附加包含目录:

    [3]_thumb[1][4]

    ..Classes;$(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)cocoseditor-support;$(EngineRoot)cocosaudioinclude;$(EngineRoot)cocos etwork;$(EngineRoot)external;$(EngineRoot)externalchipmunkincludechipmunk;$(EngineRoot)externalcurlincludewin32;$(EngineRoot)externalwebsocketswin32include;$(EngineRoot)extensions;%(AdditionalIncludeDirectories)

    继承的值:

    $(EngineRoot)cocoseditor-support

    $(EngineRoot)cocos

    $(EngineRoot)cocosplatform

    $(EngineRoot)cocosplatformdesktop

    $(EngineRoot)externalglfw3includewin32

    【链接器】

    附加库目录:$(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)

    附加依赖项:libcurl_imp.lib;websockets.lib;opengl32.lib;glew32.lib;%(AdditionalDependencies)

    我最终摸索好的配置(找不到的库文件直接文件检索然后把路径添加进去就行了):

    【C/C++】

    附加包含目录:

    ..Classes;C:ComputerSciencecocos2d-x-3.5;C:ComputerSciencecocos2d-x-3.5cocos;C:ComputerSciencecocos2d-x-3.5cocoseditor-support;C:ComputerSciencecocos2d-x-3.5cocosaudioinclude;C:ComputerSciencecocos2d-x-3.5cocos etwork;C:ComputerSciencecocos2d-x-3.5external;C:ComputerSciencecocos2d-x-3.5externalchipmunkincludechipmunk;C:ComputerSciencecocos2d-x-3.5externalcurlincludewin32;C:ComputerSciencecocos2d-x-3.5externalwebsocketswin32include;C:ComputerSciencecocos2d-x-3.5extensions;C:ComputerSciencecocos2d-x-3.5cocosplatform;C:ComputerSciencecocos2d-x-3.5cocosplatformwin32;C:ComputerSciencecocos2d-x-3.5externalglfw3includewin32;%(AdditionalIncludeDirectories)

    【链接器】

    附加库目录:$(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)

    附加依赖项:libcurl_imp.lib;websockets.lib;opengl32.lib;glew32.lib;%(AdditionalDependencies)

  • 相关阅读:
    Anaconda安装之路——坑呀!
    初读《企业应用架构模式》——阅读笔记1
    《需求工程》阅读笔记3
    codeforces 432D. Prefixes and Suffixes(后缀数组)
    hdu 6096String(trie树)
    uva 1349 Optimal Bus Route Design(拆点,费用流)
    数据结构c语言
    六个排序算法
    c无聊编程
    文件写入与文件读取
  • 原文地址:https://www.cnblogs.com/lzhitian/p/4432312.html
Copyright © 2020-2023  润新知