Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17127

Cocos2d-x 3.9 regression with Windows 32 C++ test project build?

$
0
0

@TomLizard wrote:

I started with Cocos2dx last week and have been experimenting with a variety of platforms.

I was using 3.8.1 and installed 3.9 yesterday. Since then, I have been having build problems with some Win-32 projects. Here's a specific example. Note that I tried the same thing today with 3.8.1 and it worked.

Loading the following project in Visual Studio 2015 (Windows 8) and built:

..\build\cocos2d-win32.sln

It successfully compiles a couple hundred .cpp files then starts with:

:
:
5> CCTransitionPageTurn.cpp
5> CCTransitionProgress.cpp
5> CCTweenFunction.cpp
5> 1 File(s) copied
5> 2 File(s) copied
5> 4 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 3 File(s) copied
5> 1 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5> 6 File(s) copied
5> 2 File(s) copied
5> 2 File(s) copied
5>libbullet.lib(btAlignedAllocator.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification
5> Creating library C:\Tools\Cocos2dx\build\Debug.win32\libcocos2d.lib and object C:\Tools\Cocos2dx\build\Debug.win32\libcocos2d.exp
5>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
5>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
5>CCNavMesh.obj : error LNK2019: unresolved external symbol "void * _cdecl dtAlloc(int,enum dtAllocHint)" (?dtAlloc@@YAPAXHW4dtAllocHint@@@Z) referenced in function "protected: bool __thiscall cocos2d::NavMesh::loadNavMeshFile(void)" (?loadNavMeshFile@NavMesh@cocos2d@@IAENXZ)
5>CCNavMeshUtils.obj : error LNK2001: unresolved external symbol "void * __cdecl dtAlloc(int,enum dtAllocHint)" (?dtAlloc@@YAPAXHW4dtAllocHint@@@Z)
5>CCNavMesh.obj : error LNK2019: unresolved external symbol "public: unsigned int _thiscall dtNavMesh::init(struct dtNavMeshParams const *)" (?init@dtNavMesh@@QAEIPBUdtNavMeshParams@@@Z) referenced in function "protected: bool __thiscall cocos2d::NavMesh::loadNavMeshFile(void)" (?loadNavMeshFile@NavMesh@cocos2d@@IAENXZ)
:
:

It then proceeds to process hundreds more files and finishes with:

:
:
13> c:\tools\cocos2dx\cocos\network\httprequest.h(255): note: see declaration of 'cocos2d::network::HttpRequest::setResponseCallback' (compiling source file ..\Classes\AppDelegate.cpp)
13>c:\tools\cocos2dx\tests\js-tests\project\classes\appdelegate.cpp(91): warning C4305: 'argument': truncation from 'double' to 'float'
13> 2 File(s) copied
13> 2 File(s) copied
13>js_DrawNode3D_bindings.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification
13> Creating library C:\Tools\Cocos2dx\build\Debug.win32\js-tests\js-tests.lib and object C:\Tools\Cocos2dx\build\Debug.win32\js-tests\js-tests.exp
13>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
13> js-tests.vcxproj -> C:\Tools\Cocos2dx\build\Debug.win32\js-tests\js-tests.exe
========== Rebuild All: 12 succeeded, 1 failed, 0 skipped ==========
:
:

Before I dig in, has anyone else experienced issues?

Thanks,
Tom

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17127

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>