Compile bullet library with cmake/make on msys2/mingw64

what should I do next?

Have you solved the linking problem that you described here?

I have solved all problem. and now I can enjoy coco2dx dev on clion.
compiling cocos2d library, you must add -fpermissive compile flag, other wise will fail