Cocos 3.16 Bullet precompiled libraries for VS2015

I’m updating my project from cocos2d-x 3.15 to cocos2d-x 3.16 and, as the changelog states, this new version is using precompiled libraries for Bullet.
The problem is that this libraries has been compiled with _MSC_VER 1800 and I’m using _MSC_VER 1900.

I want to recompile the libraries for the right version of the compiler.
What version of Bullet was used to compile this libraries? Is it the last one (Bullet3)?


PD: the answer to this question might help me to close the other one I have in this forum (very much related).

I think your answer is here:

and here:

Hi again.
First of all, thanks for the reply and sorry for taking so long for coming back.
I tried to build the externals using the windows script (I’m using Windows 10 for development right now).
After running the build_win10_uwp.bat script, I have some errors (picture attached)

Mentioned logs show this:

CMake Error at CMakeLists.txt:4 (project):
A Windows Store component with CMake requires both the Windows Desktop SDK
as well as the Windows Store ‘10.0’ SDK. Please make sure that you have
both installed


The target system is: WindowsStore - 10.0 -
The host system is: Windows - 10.0.16299 - AMD64

So, reading that, I downloaded and installed this
and run vcpkg.exe update. No packages updated.

Still, having the same issue, so I can’t build the externals.
Any clue on what could be failing?


I am not sure exactly. @zhangxm might be able to help us.

I want to add that I found this:
I think that solution will solve my problem running the right library but I still want to get my hands on the source code of the Externals to build them myself.

@mbrp you can get the information here:

Nice! So Bullet3 it is. I see all the flags and config for the cmake build but, there’s something that caught my eye, this

bullet: libbullet-git.tar.xz .sum-bullet
$(APPLY) $(SRC)/bullet/cocos2d.patch

That cocos2d.patch… Is that something I should worry if I just download the Bullet src (master) and compile it myself?


I am not sure if it will have problem, i think the patch just to fix compiling errors on some platform. So i think there is not problem if you can compile it. Or you can apply the same patch to compile it.

Thanks for the answer. I’ve been crazy busy lately, so I didn’t have the chance to test this. My question is answered. Once I try to compile and apply the patch, if something goes wrong, I will open a new one.
Thank you everyone!