为什么打包提示引擎库中的memcmp为定义?

另外我include string.h试了一下,还是一样的问题…


你应该是要 #include string.h 。 #include string 是std的string。

参考这个修改

https://github.com/cocos2d/cocos2d-x/pull/18476

遇到问题可以先到 GitHub 搜一下,有不少 bug 修复在上面可以找到

解决了就是.h的问题

收藏了不错的网站